aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Nanis2026-02-27 17:45:01 -0500
committerMax Nanis2026-02-27 17:45:01 -0500
commit7e63d94751135b4219cf6b974dfb26932dda505d (patch)
tree65fdcb0a1b852518715736ee576d76d330e88343
parent0cee6feeb002f91d6c894cee16a564d86ddaaa51 (diff)
downloadamt-jb-7e63d94751135b4219cf6b974dfb26932dda505d.tar.gz
amt-jb-7e63d94751135b4219cf6b974dfb26932dda505d.zip
Fix assignment_record yield model cleanup.
-rw-r--r--tests/fixtures/models.py4
1 files changed, 1 insertions, 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()