Convert datadir within config to Path

(it's used as Path all the time!)
This commit is contained in:
Matthias
2019-12-23 15:09:17 +01:00
parent 506907ddc9
commit bb8acc61db
5 changed files with 9 additions and 11 deletions

View File

@@ -977,7 +977,7 @@ def test_pairlist_resolving_fallback(mocker):
assert config['pairs'] == ['ETH/BTC', 'XRP/BTC']
assert config['exchange']['name'] == 'binance'
assert config['datadir'] == str(Path.cwd() / "user_data/data/binance")
assert config['datadir'] == Path.cwd() / "user_data/data/binance"
@pytest.mark.parametrize("setting", [