From 964114e6a3158cf680d356e96f2c1ecb6bc5523d Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sat, 15 Apr 2023 18:12:50 -0400 Subject: [PATCH] test/test_files.py::test_sharing: make filename check more resilient --- tests/test_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_files.py b/tests/test_files.py index c257109..660c964 100644 --- a/tests/test_files.py +++ b/tests/test_files.py @@ -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(