This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def run_test(self):
38
38
# post listing to alice
39
39
with open ('testdata/' + self .vendor_version + '/listing.json' ) as listing_file :
40
40
listing_json = json .load (listing_file , object_pairs_hook = OrderedDict )
41
- if self .vendor_version == 4 :
41
+ if self .vendor_version == "v4" :
42
42
listing_json ["metadata" ]["priceCurrency" ] = "t" + self .cointype
43
43
else :
44
44
listing_json ["item" ]["priceCurrency" ]["code" ] = "t" + self .cointype
@@ -110,7 +110,7 @@ def run_test(self):
110
110
"feeLevel" : "NORMAL" ,
111
111
"requireAssociateOrder" : False
112
112
}
113
- if self .buyer_version == 4 :
113
+ if self .buyer_version == "v4" :
114
114
spend ["amount" ] = payment_amount
115
115
spend ["wallet" ] = "T" + self .cointype
116
116
@@ -144,7 +144,7 @@ def run_test(self):
144
144
raise TestFailure ("FulfillDirectOnlineTest - FAIL: Alice failed to detect payment" )
145
145
if resp ["funded" ] == False :
146
146
raise TestFailure ("FulfillDirectOnlineTest - FAIL: Alice incorrectly saved as unfunded" )
147
-
147
+
148
148
# alice send order fulfillment
149
149
with open ('testdata/' + self .vendor_version + '/fulfillment.json' ) as fulfillment_file :
150
150
fulfillment_json = json .load (fulfillment_file , object_pairs_hook = OrderedDict )
You can’t perform that action at this time.
0 commit comments