We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a34565 commit 1aea3b7Copy full SHA for 1aea3b7
pyth/tests/test_update_price.py
@@ -116,6 +116,6 @@ def get_publisher_acc(product_acc):
116
assert publisher_acc['price'] == new_values[product]['price']
117
assert publisher_acc['conf'] == new_values[product]['conf']
118
119
- conf_threshold = new_values[product]['price'] / 3
+ conf_threshold = new_values[product]['price'] // 3
120
expected_status = 'unknown' if new_values[product]['conf'] > conf_threshold else 'trading'
121
assert publisher_acc['status'] == expected_status
0 commit comments