Adjust test for backtesting

This commit is contained in:
hroff-1902 2020-03-10 12:42:11 +03:00
parent f7ad6c20c7
commit 81b6a950ac

View File

@ -241,7 +241,7 @@ def test_setup_optimize_configuration_unlimited_stake_amount(mocker, default_con
'--strategy', 'DefaultStrategy', '--strategy', 'DefaultStrategy',
] ]
with pytest.raises(DependencyException, match=r'.*stake amount.*'): with pytest.raises(DependencyException, match=r'.`stake_amount`.*'):
setup_optimize_configuration(get_args(args), RunMode.BACKTEST) setup_optimize_configuration(get_args(args), RunMode.BACKTEST)