Skip to content

Commit 1248de6

Browse files
author
Mike Cardillo
committed
Fix decimal places returned by server in test_place_stop_orer
1 parent 73b2de4 commit 1248de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_authenticated_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def test_place_stop_order(self, client, stop_type, side):
136136
r = client.place_stop_order('BTC-USD', side, stop_type, 100, 0.01)
137137
assert type(r) is dict
138138
assert r['stop'] == stop_type
139-
assert r['stop_price'] == '100.00000000'
139+
assert r['stop_price'] == '100'
140140
assert r['type'] == 'limit'
141141
client.cancel_order(r['id'])
142142

0 commit comments

Comments
 (0)