assert more vars in config
All checks were successful
Mypy / mypy (push) Successful in 48s
Pytest / pytest (3.12) (push) Successful in 51s
Pytest / pytest (3.13) (push) Successful in 1m19s
Pytest / pytest (3.14) (push) Successful in 51s
Ruff / ruff (push) Successful in 35s
Mypy / mypy (pull_request) Successful in 44s
Pytest / pytest (3.12) (pull_request) Successful in 49s
Pytest / pytest (3.13) (pull_request) Successful in 49s
Pytest / pytest (3.14) (pull_request) Successful in 47s
Ruff / ruff (pull_request) Successful in 33s

This commit is contained in:
Justus Kuhlmann 2025-12-04 14:46:16 +01:00
commit 3e6c7a4fdb
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -25,6 +25,8 @@ def test_init_config(tmp_path):
config = ConfigParser() config = ConfigParser()
config.read(str(config_path)) config.read(str(config_path))
assert config.get("core", "tracker") == "None" assert config.get("core", "tracker") == "None"
assert config.get("core", "version") == "1.0"
assert config.get("core", "cached") == "True"
assert config.get("paths", "db") == "backlogger.db" assert config.get("paths", "db") == "backlogger.db"
assert config.get("paths", "projects_path") == "projects" assert config.get("paths", "projects_path") == "projects"
assert config.get("paths", "archive_path") == "archive" assert config.get("paths", "archive_path") == "archive"