@@ -560,7 +560,9 @@ def test_pull(self):
560
560
"date" : self .yesterday ,
561
561
"amount" : "1000.00" ,
562
562
"ref" : "Invoice 1" ,
563
- "payment_ref" : "1234567890: Payment for Invoice(s) 1" ,
563
+ "payment_ref" : (
564
+ "1234567890: Payment for Invoice(s) 1 ([email protected] )"
565
+ ),
564
566
"partner_name" : "Acme, Inc." ,
565
567
"unique_import_id" : f"1234567890-{ self .yesterday_timestamp } " ,
566
568
},
@@ -572,7 +574,8 @@ def test_pull(self):
572
574
"amount" : "-100.00" ,
573
575
"ref" : "Fee for Invoice 1" ,
574
576
"payment_ref" : (
575
- "Transaction fee for 1234567890: Payment for Invoice(s) 1"
577
+ "Transaction fee for 1234567890: Payment for Invoice(s) 1 "
578
+
576
579
),
577
580
"partner_name" : "PayPal" ,
578
581
"unique_import_id" : f"1234567890-{ self .yesterday_timestamp } -FEE" ,
@@ -634,7 +637,9 @@ def test_transaction_parse_1(self):
634
637
"date" : self .today ,
635
638
"amount" : "1000.00" ,
636
639
"ref" : "Invoice 1" ,
637
- "payment_ref" : "1234567890: Payment for Invoice(s) 1" ,
640
+ "payment_ref" : (
641
+ "1234567890: Payment for Invoice(s) 1 ([email protected] )"
642
+ ),
638
643
"partner_name" : "Acme, Inc." ,
639
644
"unique_import_id" : f"1234567890-{ self .today_timestamp } " ,
640
645
},
@@ -694,7 +699,9 @@ def test_transaction_parse_2(self):
694
699
"date" : self .today ,
695
700
"amount" : "1000.00" ,
696
701
"ref" : "Invoice 1" ,
697
- "payment_ref" : "1234567890: Payment for Invoice(s) 1" ,
702
+ "payment_ref" : (
703
+ "1234567890: Payment for Invoice(s) 1 ([email protected] )"
704
+ ),
698
705
"partner_name" : "Acme, Inc." ,
699
706
"unique_import_id" : f"1234567890-{ self .today_timestamp } " ,
700
707
},
@@ -754,7 +761,9 @@ def test_transaction_parse_3(self):
754
761
"date" : self .today ,
755
762
"amount" : "1000.00" ,
756
763
"ref" : "Invoice 1" ,
757
- "payment_ref" : "1234567890: Payment for Invoice(s) 1" ,
764
+ "payment_ref" : (
765
+ "1234567890: Payment for Invoice(s) 1 ([email protected] )"
766
+ ),
758
767
"partner_name" : "Acme, Inc." ,
759
768
"unique_import_id" : f"1234567890-{ self .today_timestamp } " ,
760
769
},
@@ -766,7 +775,8 @@ def test_transaction_parse_3(self):
766
775
"amount" : "-100.00" ,
767
776
"ref" : "Fee for Invoice 1" ,
768
777
"payment_ref" : (
769
- "Transaction fee for 1234567890: Payment for Invoice(s) 1"
778
+ "Transaction fee for 1234567890: Payment for Invoice(s) 1 "
779
+
770
780
),
771
781
"partner_name" : "PayPal" ,
772
782
"unique_import_id" : f"1234567890-{ self .today_timestamp } -FEE" ,
@@ -823,7 +833,9 @@ def test_transaction_parse_4(self):
823
833
"date" : self .today ,
824
834
"amount" : "1000.00" ,
825
835
"ref" : "Invoice 1" ,
826
- "payment_ref" : "1234567890: Payment for Invoice(s) 1" ,
836
+ "payment_ref" : (
837
+ "1234567890: Payment for Invoice(s) 1 ([email protected] )"
838
+ ),
827
839
"partner_name" : "Acme, Inc." ,
828
840
"unique_import_id" : f"1234567890-{ self .today_timestamp } " ,
829
841
},
0 commit comments