Skip to content

Commit e03a517

Browse files
author
Jayant Krishnamurthy
committed
fix tests
1 parent 5574593 commit e03a517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyth/tests/test_update_price.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ def get_publisher_acc(product_acc):
116116
assert publisher_acc['price'] == new_values[product]['price']
117117
assert publisher_acc['conf'] == new_values[product]['conf']
118118

119-
expected_status = 'trading' if new_values[product]['conf'] < new_values[product]['price'] / 20 else 'unknown'
119+
expected_status = 'unknown' if new_values[product]['conf'] > new_values[product]['price'] / 20 else 'trading'
120120
assert publisher_acc['status'] == expected_status

0 commit comments

Comments
 (0)