diff options
-rw-r--r-- | tests/unit/db/test_audit.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/db/test_audit.py b/tests/unit/db/test_audit.py index 22787bb..1449281 100644 --- a/tests/unit/db/test_audit.py +++ b/tests/unit/db/test_audit.py @@ -23,6 +23,6 @@ class TestMetadatAudit(TestCase): editor="Bonface", json_data=json.dumps({"a": "b"}))), 1) cursor.execute.assert_called_once_with( - "INSERT INTO metadata_audit ('dataset_id', " - "'editor', 'json_data') " - 'VALUES (\'35\', \'Bonface\', \'{\\"a\\": \\"b\\"}\')') + "INSERT INTO metadata_audit (dataset_id, " + "editor, json_data) VALUES (%s, %s, %s)", + (35, 'Bonface', '{"a": "b"}')) |