diff options
Diffstat (limited to 'tests/fixtures/models.py')
| -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() |
