Rename get_canceled exit orders ...

This commit is contained in:
Matthias
2023-09-16 09:11:31 +02:00
parent 8378a0234d
commit ae4021da14
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1928,11 +1928,11 @@ def test_get_best_pair_lev(fee):
@pytest.mark.usefixtures("init_persistence")
@pytest.mark.parametrize('is_short', [True, False])
def test_get_exit_order_count(fee, is_short):
def test_get_canceled_exit_order_count(fee, is_short):
create_mock_trades(fee, is_short=is_short)
trade = Trade.get_trades([Trade.pair == 'ETC/BTC']).first()
assert trade.get_exit_order_count() == 1
assert trade.get_canceled_exit_order_count() == 1
@pytest.mark.usefixtures("init_persistence")