removing raise KeyError in test
This commit is contained in:
parent
e5c6499706
commit
6d80c03877
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user