freqtradebot.execute_entry test for too high stake amount

This commit is contained in:
Sam Germain
2022-02-03 01:22:23 -06:00
parent c5cfd971f5
commit 7465037906
4 changed files with 25 additions and 5 deletions

View File

@@ -497,6 +497,7 @@ def test_backtesting_pairlist_list(default_conf, mocker, caplog, testdatadir, ti
def test_backtest__enter_trade(default_conf, fee, mocker) -> None:
# TODO-lev: test max_pair_stake_amount
default_conf['use_sell_signal'] = False
mocker.patch('freqtrade.exchange.Exchange.get_fee', fee)
mocker.patch("freqtrade.exchange.Exchange.get_min_pair_stake_amount", return_value=0.00001)