mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
Fix empty Path inits in tests
This commit is contained in:
@@ -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']
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user