Skip to content

Commit 8ac9214

Browse files
committed
Fix tests
1 parent 8d306a6 commit 8ac9214

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/mergin/tests/test_public_api_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ def test_create_version(client, data, expected, err_code):
856856
# chunks exists after upload, cleanup job did not remove them
857857
assert all(os.path.exists(chunk) for chunk in chunks)
858858
if chunk_ids:
859-
assert mock_remove.called_once_with(chunk_ids)
859+
mock_remove.assert_called_once_with(chunk_ids)
860860
remove_transaction_chunks(chunk_ids)
861861
assert all(not os.path.exists(chunk) for chunk in chunks)
862862
else:

0 commit comments

Comments
 (0)