summary refs log tree commit diff
path: root/tests/rest/admin/test_media.py
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2021-01-11 17:15:54 +0100
committerGitHub <noreply@github.com>2021-01-11 11:15:54 -0500
commit42d3a28d8bb8c08e9e0d00a2e247cbbddb1a155c (patch)
tree9f764986290a47cc2538d8102d26726ad2a0df48 /tests/rest/admin/test_media.py
parentUse a chain cover index to efficiently calculate auth chain difference (#8868) (diff)
downloadsynapse-42d3a28d8bb8c08e9e0d00a2e247cbbddb1a155c.tar.xz
Removes unnecessary declarations in the tests for the admin API. (#9063)
Diffstat (limited to 'tests/rest/admin/test_media.py')
-rw-r--r--tests/rest/admin/test_media.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/rest/admin/test_media.py b/tests/rest/admin/test_media.py
index c2b998cdae..51a7731693 100644
--- a/tests/rest/admin/test_media.py
+++ b/tests/rest/admin/test_media.py
@@ -35,7 +35,6 @@ class DeleteMediaByIDTestCase(unittest.HomeserverTestCase):
     ]
 
     def prepare(self, reactor, clock, hs):
-        self.handler = hs.get_device_handler()
         self.media_repo = hs.get_media_repository_resource()
         self.server_name = hs.hostname
 
@@ -181,7 +180,6 @@ class DeleteMediaByDateSizeTestCase(unittest.HomeserverTestCase):
     ]
 
     def prepare(self, reactor, clock, hs):
-        self.handler = hs.get_device_handler()
         self.media_repo = hs.get_media_repository_resource()
         self.server_name = hs.hostname