Fix some windows tests

This commit is contained in:
Matthias
2024-06-08 17:41:05 +02:00
parent 36ad3bff62
commit 35700d1452
2 changed files with 4 additions and 4 deletions

View File

@@ -509,7 +509,7 @@ def test_setup_configuration_with_arguments(mocker, default_conf, caplog, tmp_pa
assert "pair_whitelist" in config["exchange"]
assert "datadir" in config
assert log_has("Using data directory: {} ...".format("/foo/bar"), caplog)
assert log_has(f"Using user-data directory: {tmp_path}/freqtrade ...", caplog)
assert log_has(f"Using user-data directory: {tmp_path / 'freqtrade'} ...", caplog)
assert "user_data_dir" in config
assert "timeframe" in config