From 9b7f657a7985593070093da7c909b23d4f1ae303 Mon Sep 17 00:00:00 2001
From: KoalaSat <yv1vtrul@duck.com>
Date: Fri, 21 Jun 2024 11:35:10 +0200
Subject: [PATCH] Tests messages

---
 tests/test_trade_pipeline.py | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/tests/test_trade_pipeline.py b/tests/test_trade_pipeline.py
index be91346a0..daa06b349 100644
--- a/tests/test_trade_pipeline.py
+++ b/tests/test_trade_pipeline.py
@@ -246,7 +246,7 @@ def test_make_order(self):
         self.assertEqual(
             notifications_data.count,
             0,
-            "There is only one notification",
+            "User has no notification",
         )
 
     def test_make_order_on_blocked_country(self):
@@ -364,7 +364,7 @@ def test_publish_order(self):
         self.assertEqual(
             notifications_data.count,
             1,
-            "There is only one notification",
+            "User has a new order notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -397,7 +397,7 @@ def test_pause_unpause_order(self):
         self.assertEqual(
             notifications_data.count,
             2,
-            "There is only one notification",
+            "User has a new order start notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -454,7 +454,7 @@ def test_make_and_take_order(self):
         self.assertEqual(
             notifications_data.count,
             2,
-            "There is only one notification",
+            "User has a new order start notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -486,8 +486,8 @@ def test_make_and_lock_contract(self):
         notifications_data = trade.response.json()
         self.assertEqual(
             notifications_data.count,
-            2,
-            "There is only one notification",
+            3,
+            "User has a bond locked notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -518,7 +518,7 @@ def test_make_and_lock_contract(self):
         self.assertEqual(
             notifications_data.count,
             2,
-            "There is only one notification",
+            "User has a bond locked notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -555,7 +555,7 @@ def test_trade_to_locked_escrow(self):
         self.assertEqual(
             notifications_data.count,
             3,
-            "There is only one notification",
+            "User has a scrow locked notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -589,7 +589,7 @@ def test_trade_to_submitted_address(self):
         self.assertEqual(
             notifications_data.count,
             4,
-            "There is only one notification",
+            "User has a new order ready notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -625,8 +625,8 @@ def test_trade_to_submitted_invoice(self):
         notifications_data = trade.response.json()
         self.assertEqual(
             notifications_data.count,
-            5,
-            "There is only one notification",
+            4,
+            "User has a new order ready notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -661,7 +661,7 @@ def test_trade_to_confirm_fiat_sent_LN(self):
         self.assertEqual(
             notifications_data.count,
             6,
-            "There is only one notification",
+            "User has a new fiat sent notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -711,7 +711,7 @@ def test_trade_to_confirm_fiat_received_LN(self):
         self.assertEqual(
             notifications_data.count,
             7,
-            "There is only one notification",
+            "User has a new fiat received notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -829,7 +829,7 @@ def test_collaborative_cancel_order_in_chat(self):
         self.assertEqual(
             notifications_data.count,
             6,
-            "There is only one notification",
+            "User has a new order cancelled notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -872,7 +872,7 @@ def test_created_order_expires(self):
         self.assertEqual(
             notifications_data.count,
             6,
-            "There is only one notification",
+            "User has a new order expired notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -916,7 +916,7 @@ def test_public_order_expires(self):
         self.assertEqual(
             notifications_data.count,
             6,
-            "There is only one notification",
+            "User has a new order expired notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -962,7 +962,7 @@ def test_taken_order_expires(self):
         self.assertEqual(
             notifications_data.count,
             6,
-            "There is only one notification",
+            "User has a new order expired notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)
 
@@ -1061,7 +1061,7 @@ def test_chat(self):
         self.assertEqual(
             notifications_data.count,
             8,
-            "There is only one notification",
+            "User has a new chat notification",
         )
         self.assertEqual(notifications_data[0]["order_id"], trade.order_id)