From 720ed0eddd8c15d6c2d37941fe2665b953d93927 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 3 Mar 2020 09:36:04 +0100 Subject: [PATCH] Remove flucky test assert --- tests/commands/test_commands.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/commands/test_commands.py b/tests/commands/test_commands.py index 1877aaa43..3e1c0a581 100644 --- a/tests/commands/test_commands.py +++ b/tests/commands/test_commands.py @@ -448,9 +448,6 @@ def test_create_datadir_failed(caplog): def test_create_datadir(caplog, mocker): - # Capture caplog length here trying to avoid random test failure - len_caplog_before = len(caplog.record_tuples) - cud = mocker.patch("freqtrade.commands.deploy_commands.create_userdata_dir", MagicMock()) csf = mocker.patch("freqtrade.commands.deploy_commands.copy_sample_files", MagicMock()) args = [ @@ -462,7 +459,6 @@ def test_create_datadir(caplog, mocker): assert cud.call_count == 1 assert csf.call_count == 1 - assert len(caplog.record_tuples) == len_caplog_before def test_start_new_strategy(mocker, caplog):