test/test_files.py::test_sharing: make filename check more resilient

This commit is contained in:
dogeystamp 2023-04-15 18:12:50 -04:00
parent cb4904d70a
commit 964114e6a3
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -42,7 +42,7 @@ class TestSuite:
headers=auth("jeff"),
)
assert resp.data == upload_data
assert resp.headers["Content-Disposition"] == "inline; filename=content.bin"
assert "filename=content.bin" in resp.headers["Content-Disposition"].split("; ")
# test deletion
resp = client.delete(