central/tests
Ubuntu a362b7b93e test: remove TomlConfigSource and config_source flag tests
TOML-related tests no longer needed after Phase C retirement.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-16 03:42:43 +00:00
..
__init__.py
README.md docs(tests): add README documenting CENTRAL_TEST_DB_DSN env var 2026-05-16 01:36:40 +00:00
test_bootstrap_config.py
test_config_source.py test: remove TomlConfigSource and config_source flag tests 2026-05-16 03:42:43 +00:00
test_config_store.py feat(config_store): add listener reconnect with exponential backoff 2026-05-16 01:36:35 +00:00
test_crypto.py
test_models.py fix(tests): replace echo6 reference with central.local 2026-05-16 01:36:44 +00:00
test_nws_normalization.py
test_supervisor_hotreload.py test: remove TomlConfigSource and config_source flag tests 2026-05-16 03:42:43 +00:00
test_supervisor_integration.py fix: preserve last_completed_poll across adapter disable/enable 2026-05-16 02:37:57 +00:00

Central Tests

Test Database

Some tests (notably test_config_store.py) require a real PostgreSQL database. By default, tests connect to:

postgresql://central_test:testpass@localhost/central_test

If your test database uses different credentials, set the CENTRAL_TEST_DB_DSN environment variable:

export CENTRAL_TEST_DB_DSN="postgresql://myuser:mypass@localhost/mydb"
uv run pytest tests/test_config_store.py