Ergaenze die Kansho-analoge Test-Suite gegen buyingagent_test.
Deploy Development / deploy (push) Successful in 24s
Test Suite / pytest-backend (push) Failing after 14s
Test Suite / smoke-dev (push) Successful in 0s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-03 11:20:30 +02:00
1 parent e1800e7b0f
commit c9c0ff96fc
9 files changed
+138 -5

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
from app.settings import Settings
def test_database_url_uses_psycopg_and_explicit_fields() -> None:
settings = Settings(
db_host="postgres",
db_port=5432,
db_name="buyingagent_test",
db_user="buyingagent",
db_password="secret",
)
assert settings.database_url == (
"postgresql+psycopg://buyingagent:secret@postgres:5432/buyingagent_test"
)