diff options
| author | Max Nanis | 2026-02-27 17:45:01 -0500 |
|---|---|---|
| committer | Max Nanis | 2026-02-27 17:45:01 -0500 |
| commit | 7e63d94751135b4219cf6b974dfb26932dda505d (patch) | |
| tree | 65fdcb0a1b852518715736ee576d76d330e88343 /tests | |
| parent | 0cee6feeb002f91d6c894cee16a564d86ddaaa51 (diff) | |
| download | amt-jb-7e63d94751135b4219cf6b974dfb26932dda505d.tar.gz amt-jb-7e63d94751135b4219cf6b974dfb26932dda505d.zip | |
Fix assignment_record yield model cleanup.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/fixtures/models.py | 4 |
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() |
