From 482cc615cc91c38e8a5c9aa96a1739e145db4198 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 2 Aug 2023 17:57:49 +0200 Subject: [PATCH] Fix empty Path inits in tests --- tests/data/test_history.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/data/test_history.py b/tests/data/test_history.py index b4f88f3cb..417f984ca 100644 --- a/tests/data/test_history.py +++ b/tests/data/test_history.py @@ -386,7 +386,7 @@ def test_load_partial_missing(testdatadir, caplog) -> None: def test_init(default_conf) -> None: assert {} == load_data( - datadir=Path(''), + datadir=Path(), pairs=[], timeframe=default_conf['timeframe'] ) @@ -395,14 +395,14 @@ def test_init(default_conf) -> None: def test_init_with_refresh(default_conf, mocker) -> None: exchange = get_patched_exchange(mocker, default_conf) refresh_data( - datadir=Path(''), + datadir=Path(), pairs=[], timeframe=default_conf['timeframe'], exchange=exchange, candle_type=CandleType.SPOT ) assert {} == load_data( - datadir=Path(''), + datadir=Path(), pairs=[], timeframe=default_conf['timeframe'] )