File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def just_test_if_polygon_node() -> str:
62
62
"id" : 1 ,
63
63
},
64
64
).ok :
65
- pytest .skip ("Cannot connect to poylgon node" , allow_module_level = True )
65
+ pytest .skip ("Cannot connect to polygon node" , allow_module_level = True )
66
66
except IOError :
67
67
pytest .skip (
68
68
"Problem connecting to the polygon node" , allow_module_level = True
Original file line number Diff line number Diff line change @@ -151,10 +151,7 @@ def test_place_order(self):
151
151
)
152
152
153
153
if type (order_id ) is dict :
154
- if order_id ["errorType" ] == "NoLiquidity" :
155
- pytest .xfail ("NoLiquidity Error" )
156
- elif order_id ["errorType" ] == "InsufficientBalance" :
157
- pytest .xfail ("InsufficientBalance" )
158
-
159
- self .assertEqual (order_id [:2 ], "0x" )
160
- self .assertEqual (len (order_id ), 114 )
154
+ pytest .xfail (order_id ["errorType" ])
155
+ else :
156
+ self .assertEqual (order_id [:2 ], "0x" )
157
+ self .assertEqual (len (order_id ), 114 )
You can’t perform that action at this time.
0 commit comments