Convert tests/datadir to path object - better mirroring an initialized configuration

This commit is contained in:
Matthias
2023-01-20 07:58:56 +00:00
parent a5d87859dc
commit 58d48e79da
3 changed files with 5 additions and 3 deletions

View File

@@ -510,7 +510,7 @@ def get_default_conf(testdatadir):
"chat_id": "0",
"notification_settings": {},
},
"datadir": str(testdatadir),
"datadir": Path(testdatadir),
"initial_state": "running",
"db_url": "sqlite://",
"user_data_dir": Path("user_data"),