From cbbbe8a5ba33d030c417f656fb352cc82e9ce7bd Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 7 Apr 2022 09:08:17 +0000 Subject: [PATCH] Fix test using existing config file, therefore becomming fluky --- tests/commands/test_commands.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/commands/test_commands.py b/tests/commands/test_commands.py index 7baa91720..22869638b 100644 --- a/tests/commands/test_commands.py +++ b/tests/commands/test_commands.py @@ -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):