Fix test using existing config file, therefore becomming fluky

This commit is contained in:
Matthias 2022-04-07 09:08:17 +00:00
parent 3188d036a6
commit cbbbe8a5ba
1 changed files with 3 additions and 2 deletions

View File

@ -826,8 +826,9 @@ def test_download_data_trades(mocker, caplog):
]
with pytest.raises(OperationalException,
match="Trade download not supported for futures."):
start_download_data(get_args(args))
pargs = get_args(args)
pargs['config'] = None
start_download_data(pargs)
def test_start_convert_trades(mocker, caplog):