Skip to content

Commit 90d9591

Browse files
committed
test: reenable test with 2nd version equal filename
1 parent cca6e49 commit 90d9591

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker-app/qfieldcloud/filestorage/tests/test_attachments.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,7 @@ def test_not_versioned_attachment_upload_succeeds(self):
242242

243243
second_content_name = file.latest_version.content.name
244244

245-
# Following line fails since the implementation of `bytemark/webdav` adds a random file suffix before the extension.
246-
# self.assertTrue(second_content_name.endswith("DCIM/file.name"))
245+
self.assertTrue(second_content_name.endswith("DCIM/file.name"))
247246
self.assertTrue(second_content_name.endswith(".name"))
248247

249248
response = self._delete_file(self.u1, p, "DCIM/file.name")

0 commit comments

Comments
 (0)