Try to clear caplog ...

This commit is contained in:
Matthias
2019-12-17 11:07:59 +01:00
parent e1c0c6af7d
commit 2e2f084f66
2 changed files with 4 additions and 1 deletions

View File

@@ -444,6 +444,9 @@ def test_create_datadir_failed(caplog):
def test_create_datadir(caplog, mocker):
# Ensure that caplog is empty before starting ...
# Should prevent random failures.
caplog.clear()
cud = mocker.patch("freqtrade.utils.create_userdata_dir", MagicMock())
csf = mocker.patch("freqtrade.utils.copy_sample_files", MagicMock())
args = [