We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d28df47 commit aad8599Copy full SHA for aad8599
tests/test_automated/integration/conftest.py
@@ -16,7 +16,13 @@
16
def db_client_test() -> DatabaseClient:
17
conn = get_postgres_connection_string()
18
alembic_cfg = Config("alembic.ini")
19
+ alembic_cfg.set_main_option(
20
+ "sqlalchemy.url",
21
+ get_postgres_connection_string()
22
+ )
23
+
24
engine = create_engine(conn)
25
26
alembic_cfg.attributes["connection"] = engine.connect()
27
28
command.upgrade(alembic_cfg, "head")
0 commit comments