Skip to content

Commit 607e148

Browse files
committed
black swan
1 parent 0fc2a9e commit 607e148

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mergin/test/test_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3212,6 +3212,7 @@ def test_client_project_sync_retry(mc):
32123212
mc.sync_project(project_dir)
32133213
assert mock_push_project_async.call_count == 2
32143214

3215+
32153216
def test_push_file_limits(mc):
32163217
test_project = "test_push_file_limits"
32173218
project = API_USER + "/" + test_project
@@ -3224,7 +3225,7 @@ def test_push_file_limits(mc):
32243225
with patch("mergin.client_push.MAX_UPLOAD_VERSIONED_SIZE", 1):
32253226
with pytest.raises(ClientError, match=f"base.gpkg to upload exceeds the maximum allowed size of {1/1024**3}"):
32263227
mc.push_project(project_dir)
3227-
3228+
32283229
shutil.copy(os.path.join(TEST_DATA_DIR, "test.txt"), project_dir)
32293230
with patch("mergin.client_push.MAX_UPLOAD_MEDIA_SIZE", 1):
32303231
with pytest.raises(ClientError, match=f"test.txt to upload exceeds the maximum allowed size of {1/1024**3}"):

0 commit comments

Comments
 (0)