Add Debug "code" for randomly failing test

This commit is contained in:
Matthias 2019-12-30 14:29:36 +01:00
parent fb3a53b8af
commit 20abf67779

View File

@ -448,6 +448,9 @@ def test_create_datadir(caplog, mocker):
# Ensure that caplog is empty before starting ...
# Should prevent random failures.
caplog.clear()
# Added assert here to analyze random test-failures ...
assert len(caplog.record_tuples) == 0
cud = mocker.patch("freqtrade.utils.create_userdata_dir", MagicMock())
csf = mocker.patch("freqtrade.utils.copy_sample_files", MagicMock())
args = [