Skip to content

Commit 618eac5

Browse files
committed
refactor: update database connection and improve assertions in unit tests
1 parent 7502038 commit 618eac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/director-v2/tests/unit/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def set_comp_task_inputs(
4949
inputs_schema: dict[str, Any],
5050
inputs: dict[str, Any],
5151
) -> None:
52-
async with aiopg_engine.begin() as conn:
52+
async with sqlalchemy_async_engine.begin() as conn:
5353
await conn.execute(
5454
comp_tasks.update()
5555
.where(comp_tasks.c.node_id == f"{node_id}")

0 commit comments

Comments
 (0)