diff --git a/freqtrade/tests/test_freqtradebot.py b/freqtrade/tests/test_freqtradebot.py index 1afb86024..9c72f9177 100644 --- a/freqtrade/tests/test_freqtradebot.py +++ b/freqtrade/tests/test_freqtradebot.py @@ -256,9 +256,7 @@ def test_edge_overrides_stake_amount(mocker, default_conf) -> None: # strategy stoploss should be ignored freqtrade.strategy.stoploss = -0.05 - with pytest.raises(KeyError): - freqtrade._get_trade_stake_amount('ETH/BTC') - + assert 'ETH/BTC' not in freqtrade.edge._cached_pairs assert freqtrade._get_trade_stake_amount('NEO/BTC') == 0.025 assert freqtrade._get_trade_stake_amount('LTC/BTC') == 0.02381