Fix issues reported by flake.

This commit is contained in:
eSeR1805 2022-04-16 15:44:07 +03:00
parent d65b64a46f
commit 698c25f133
No known key found for this signature in database
GPG Key ID: BA53686259B46936

View File

@ -2461,6 +2461,7 @@ def test_manage_open_orders_entry(
# Custom user buy-timeout is never called # Custom user buy-timeout is never called
assert freqtrade.strategy.check_entry_timeout.call_count == 0 assert freqtrade.strategy.check_entry_timeout.call_count == 0
@pytest.mark.parametrize("is_short", [False, True]) @pytest.mark.parametrize("is_short", [False, True])
def test_check_handle_cancelled_buy( def test_check_handle_cancelled_buy(
default_conf_usdt, ticker_usdt, limit_buy_order_old, open_trade, default_conf_usdt, ticker_usdt, limit_buy_order_old, open_trade,
@ -2818,7 +2819,7 @@ def test_manage_open_orders_partial_except(
def test_manage_open_orders_exception(default_conf_usdt, ticker_usdt, open_trade_usdt, mocker, def test_manage_open_orders_exception(default_conf_usdt, ticker_usdt, open_trade_usdt, mocker,
caplog) -> None: caplog) -> None:
patch_RPCManager(mocker) patch_RPCManager(mocker)
patch_exchange(mocker) patch_exchange(mocker)
cancel_order_mock = MagicMock() cancel_order_mock = MagicMock()