test/test_files.py::test_sharing: make filename check more resilient
This commit is contained in:
parent
cb4904d70a
commit
964114e6a3
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user