summary refs log tree commit diff
path: root/tests/rest/media/test_domain_blocking.py
diff options
context:
space:
mode:
authorTravis Ralston <travisr@element.io>2024-11-20 07:48:22 -0700
committerGitHub <noreply@github.com>2024-11-20 14:48:22 +0000
commitd0a474d312443a0ef6ebdbd9c6d3b3fd24a3500c (patch)
tree1a73b0dd5bce9c9cb667a935ae67b87fa9933f83 /tests/rest/media/test_domain_blocking.py
parentSupport both import names of PyPI package `python-multipart`. (#17932) (diff)
downloadsynapse-d0a474d312443a0ef6ebdbd9c6d3b3fd24a3500c.tar.xz
Enable authenticated media by default (#17889)
Co-authored-by: Olivier 'reivilibre <oliverw@matrix.org>
Diffstat (limited to 'tests/rest/media/test_domain_blocking.py')
-rw-r--r--tests/rest/media/test_domain_blocking.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/rest/media/test_domain_blocking.py b/tests/rest/media/test_domain_blocking.py

index 72205c6bb3..49d81f4b28 100644 --- a/tests/rest/media/test_domain_blocking.py +++ b/tests/rest/media/test_domain_blocking.py
@@ -91,7 +91,8 @@ class MediaDomainBlockingTests(unittest.HomeserverTestCase): { # Disable downloads from a domain we won't be requesting downloads from. # This proves we haven't broken anything. - "prevent_media_downloads_from": ["not-listed.com"] + "prevent_media_downloads_from": ["not-listed.com"], + "enable_authenticated_media": False, } ) def test_remote_media_normally_unblocked(self) -> None: @@ -132,6 +133,7 @@ class MediaDomainBlockingTests(unittest.HomeserverTestCase): # This proves we haven't broken anything. "prevent_media_downloads_from": ["not-listed.com"], "dynamic_thumbnails": True, + "enable_authenticated_media": False, } ) def test_remote_media_thumbnail_normally_unblocked(self) -> None: