From 265aff3bc68da8306eb308b1f59743cd0ec4fb39 Mon Sep 17 00:00:00 2001 From: Kuy Krawczeniuk Date: Fri, 26 Mar 2021 16:15:50 -0700 Subject: [PATCH] Change log assertions in tests to match log outputs. --- tests/data/test_history.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/data/test_history.py b/tests/data/test_history.py index 353cfc6f7..1ffb7f2d6 100644 --- a/tests/data/test_history.py +++ b/tests/data/test_history.py @@ -90,8 +90,8 @@ def test_load_data_1min_timeframe(ohlcv_history, mocker, caplog, testdatadir) -> load_data(datadir=testdatadir, timeframe='1m', pairs=['UNITTEST/BTC']) assert file.is_file() assert not log_has( - 'Download history data for pair: "UNITTEST/BTC", interval: 1m ' - 'and store in None.', caplog + 'Downloading history data for pair: "UNITTEST/BTC", interval: 1m ' + 'and storing in None.', caplog ) _clean_test_file(file) @@ -135,8 +135,8 @@ def test_load_data_with_new_pair_1min(ohlcv_history_list, mocker, caplog, load_pair_history(datadir=testdatadir, timeframe='1m', pair='MEME/BTC') assert file.is_file() assert log_has_re( - 'Download history data for pair: "MEME/BTC", timeframe: 1m ' - 'and store in .*', caplog + 'Downloading history data for pair: "MEME/BTC", timeframe: 1m ' + 'and storing in .*', caplog ) _clean_test_file(file)