Skip to content

Commit d4a86a5

Browse files
committed
black
1 parent b2f25c4 commit d4a86a5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎server/mergin/sync/schemas.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
FileHistory,
1717
PushChangeType,
1818
ProjectRole,
19-
ProjectUser,
2019
)
2120
from .workspace import WorkspaceRole
2221
from ..app import DateTimeWithZ, ma

‎server/mergin/tests/test_project_controller.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2613,4 +2613,7 @@ def test_supported_file_upload(client):
26132613
# Unsupported file type is revealed when reconstructed from chunks - based on the mime type - and upload is refused
26142614
resp = client.post(f"/v1/project/push/finish/{upload.id}")
26152615
assert resp.status_code == 400
2616-
assert resp.json["detail"] == f"Unsupported file type detected: {spoof_name}. Please remove the file or try compressing it into a ZIP file before uploading."
2616+
assert (
2617+
resp.json["detail"]
2618+
== f"Unsupported file type detected: {spoof_name}. Please remove the file or try compressing it into a ZIP file before uploading."
2619+
)

0 commit comments

Comments
 (0)