From 7e63d94751135b4219cf6b974dfb26932dda505d Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Fri, 27 Feb 2026 17:45:01 -0500 Subject: Fix assignment_record yield model cleanup. --- tests/fixtures/models.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/fixtures/models.py b/tests/fixtures/models.py index bdb4e12..b53e25a 100644 --- a/tests/fixtures/models.py +++ b/tests/fixtures/models.py @@ -235,9 +235,7 @@ def assignment_record( with pg_config.make_connection() as conn: with conn.cursor() as c: - c.execute( - "DELETE FROM mtwerk_assignment WHERE id=%s", (assignment_stub.id,) - ) + c.execute("DELETE FROM mtwerk_assignment WHERE id=%s", (assignment.id,)) conn.commit() -- cgit v1.2.3