Skip to content

Commit

Permalink
Removing test variables from test_amm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
poliwop committed Jun 29, 2023
1 parent 96ead12 commit 9e25ba8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hydradx/tests/test_amm.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,6 @@ def test_arbitrage_pool_balance(initial_state):
events = run.run(initial_state, time_steps=50, silent=True)
final_state = events[-1]
final_pool_state = final_state.pools['HDX/BSX']
test1 = final_pool_state.liquidity['HDX'] / final_pool_state.liquidity['BSX']
test2 = final_state.price('BSX') / final_state.price('HDX')
if (pytest.approx(final_pool_state.liquidity['HDX'] / final_pool_state.liquidity['BSX'])
!= final_state.price('BSX') / final_state.price('HDX')):
raise AssertionError('Price ratio does not match ratio in the pool!')
Expand Down

0 comments on commit 9e25ba8

Please sign in to comment.