From b98297786c5db69ccacd35c381c24a0111c47b49 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Feb 2022 12:56:32 +0100 Subject: [PATCH] Update failing mock --- tests/test_freqtradebot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_freqtradebot.py b/tests/test_freqtradebot.py index f9e75bb05..93920a163 100644 --- a/tests/test_freqtradebot.py +++ b/tests/test_freqtradebot.py @@ -722,8 +722,8 @@ def test_process_informative_pairs_added(default_conf_usdt, ticker_usdt, mocker) (False, 'futures', 'binance', 'isolated', 0.05, 8.167171717171717), (True, 'futures', 'gateio', 'isolated', 0.05, 11.7804274688304), (False, 'futures', 'gateio', 'isolated', 0.05, 8.181423084697796), - (True, 'futures', 'okex', 'isolated', 0.0, 11.87413417771621), - (False, 'futures', 'okex', 'isolated', 0.0, 8.085708510208207), + (True, 'futures', 'okx', 'isolated', 0.0, 11.87413417771621), + (False, 'futures', 'okx', 'isolated', 0.0, 8.085708510208207), ]) def test_execute_entry(mocker, default_conf_usdt, fee, limit_order, limit_order_open, is_short, trading_mode, @@ -784,7 +784,7 @@ def test_execute_entry(mocker, default_conf_usdt, fee, limit_order, get_max_leverage=MagicMock(return_value=10), ) mocker.patch.multiple( - 'freqtrade.exchange.Okex', + 'freqtrade.exchange.Okx', get_max_pair_stake_amount=MagicMock(return_value=500000), ) pair = 'ETH/USDT'