Basic testing infrastructure

This commit is contained in:
Eden Kirin
2023-09-20 09:56:52 +02:00
parent f57c4d4491
commit 6109630ed1
12 changed files with 451 additions and 22 deletions

11
settings_test.py Normal file
View File

@ -0,0 +1,11 @@
import logging
POSTGRES_HOST: str = "localhost"
POSTGRES_PORT: int = 5432
POSTGRES_TEST_USER = "addressbook"
POSTGRES_TEST_PASSWORD = "addressbook"
LOG_PATH = "/tmp/addressbook-log"
MIN_LOG_LEVEL: int = logging.INFO
DROP_TEMPLATE_DATABASE_BEFORE_TESTS: bool = False
FLYWAY_BINARY_PATH: str = "/usr/bin/flyway"