Fix mypy type errors in tests

This commit is contained in:
Matthias
2020-02-10 10:35:48 +01:00
parent 0ba8d13de9
commit 83644ce5d8
5 changed files with 20 additions and 18 deletions

View File

@@ -287,8 +287,8 @@ def test_start(mocker, fee, default_conf, caplog) -> None:
'--config', 'config.json',
'--strategy', 'DefaultStrategy',
]
args = get_args(args)
start_backtesting(args)
pargs = get_args(args)
start_backtesting(pargs)
assert log_has('Starting freqtrade in Backtesting mode', caplog)
assert start_mock.call_count == 1