Skip to content

Commit fa1fc84

Browse files
committed
fix tests for mimetype
1 parent 5c31a3d commit fa1fc84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/mergin/tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def test_mime_type_validation_skip():
364364
"mergin.sync.utils.get_mimetype", return_value="application/x-python-code"
365365
), patch("mergin.sync.utils.Configuration.UPLOAD_FILES_WHITELIST", ALLOWED_FILES):
366366
for file_path in ALLOWED_FILES:
367-
assert is_supported_extension(file_path)
367+
assert is_supported_type(file_path)
368368

369369
# Should be forbidden
370370
assert not is_supported_type("other.js")

0 commit comments

Comments
 (0)