@@ -246,7 +246,7 @@ def test_make_order(self):
246
246
self .assertEqual (
247
247
notifications_data .count ,
248
248
0 ,
249
- "There is only one notification" ,
249
+ "User has no notification" ,
250
250
)
251
251
252
252
def test_make_order_on_blocked_country (self ):
@@ -364,7 +364,7 @@ def test_publish_order(self):
364
364
self .assertEqual (
365
365
notifications_data .count ,
366
366
1 ,
367
- "There is only one notification" ,
367
+ "User has a new order notification" ,
368
368
)
369
369
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
370
370
@@ -397,7 +397,7 @@ def test_pause_unpause_order(self):
397
397
self .assertEqual (
398
398
notifications_data .count ,
399
399
2 ,
400
- "There is only one notification" ,
400
+ "User has a new order start notification" ,
401
401
)
402
402
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
403
403
@@ -454,7 +454,7 @@ def test_make_and_take_order(self):
454
454
self .assertEqual (
455
455
notifications_data .count ,
456
456
2 ,
457
- "There is only one notification" ,
457
+ "User has a new order start notification" ,
458
458
)
459
459
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
460
460
@@ -486,8 +486,8 @@ def test_make_and_lock_contract(self):
486
486
notifications_data = trade .response .json ()
487
487
self .assertEqual (
488
488
notifications_data .count ,
489
- 2 ,
490
- "There is only one notification" ,
489
+ 3 ,
490
+ "User has a bond locked notification" ,
491
491
)
492
492
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
493
493
@@ -518,7 +518,7 @@ def test_make_and_lock_contract(self):
518
518
self .assertEqual (
519
519
notifications_data .count ,
520
520
2 ,
521
- "There is only one notification" ,
521
+ "User has a bond locked notification" ,
522
522
)
523
523
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
524
524
@@ -555,7 +555,7 @@ def test_trade_to_locked_escrow(self):
555
555
self .assertEqual (
556
556
notifications_data .count ,
557
557
3 ,
558
- "There is only one notification" ,
558
+ "User has a scrow locked notification" ,
559
559
)
560
560
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
561
561
@@ -589,7 +589,7 @@ def test_trade_to_submitted_address(self):
589
589
self .assertEqual (
590
590
notifications_data .count ,
591
591
4 ,
592
- "There is only one notification" ,
592
+ "User has a new order ready notification" ,
593
593
)
594
594
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
595
595
@@ -625,8 +625,8 @@ def test_trade_to_submitted_invoice(self):
625
625
notifications_data = trade .response .json ()
626
626
self .assertEqual (
627
627
notifications_data .count ,
628
- 5 ,
629
- "There is only one notification" ,
628
+ 4 ,
629
+ "User has a new order ready notification" ,
630
630
)
631
631
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
632
632
@@ -661,7 +661,7 @@ def test_trade_to_confirm_fiat_sent_LN(self):
661
661
self .assertEqual (
662
662
notifications_data .count ,
663
663
6 ,
664
- "There is only one notification" ,
664
+ "User has a new fiat sent notification" ,
665
665
)
666
666
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
667
667
@@ -711,7 +711,7 @@ def test_trade_to_confirm_fiat_received_LN(self):
711
711
self .assertEqual (
712
712
notifications_data .count ,
713
713
7 ,
714
- "There is only one notification" ,
714
+ "User has a new fiat received notification" ,
715
715
)
716
716
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
717
717
@@ -829,7 +829,7 @@ def test_collaborative_cancel_order_in_chat(self):
829
829
self .assertEqual (
830
830
notifications_data .count ,
831
831
6 ,
832
- "There is only one notification" ,
832
+ "User has a new order cancelled notification" ,
833
833
)
834
834
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
835
835
@@ -872,7 +872,7 @@ def test_created_order_expires(self):
872
872
self .assertEqual (
873
873
notifications_data .count ,
874
874
6 ,
875
- "There is only one notification" ,
875
+ "User has a new order expired notification" ,
876
876
)
877
877
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
878
878
@@ -916,7 +916,7 @@ def test_public_order_expires(self):
916
916
self .assertEqual (
917
917
notifications_data .count ,
918
918
6 ,
919
- "There is only one notification" ,
919
+ "User has a new order expired notification" ,
920
920
)
921
921
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
922
922
@@ -962,7 +962,7 @@ def test_taken_order_expires(self):
962
962
self .assertEqual (
963
963
notifications_data .count ,
964
964
6 ,
965
- "There is only one notification" ,
965
+ "User has a new order expired notification" ,
966
966
)
967
967
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
968
968
@@ -1061,7 +1061,7 @@ def test_chat(self):
1061
1061
self .assertEqual (
1062
1062
notifications_data .count ,
1063
1063
8 ,
1064
- "There is only one notification" ,
1064
+ "User has a new chat notification" ,
1065
1065
)
1066
1066
self .assertEqual (notifications_data [0 ]["order_id" ], trade .order_id )
1067
1067
0 commit comments