summary refs log tree commit diff
path: root/tests/rest/admin/test_media.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-12-01 11:04:57 +0000
committerGitHub <noreply@github.com>2020-12-01 11:04:57 +0000
commit09ac0569fe910ce4599a07e385522380ce1af6e1 (patch)
tree58a0c7d4e98b7a7de5577b1cc38fbdce1ac07f3e /tests/rest/admin/test_media.py
parentFix typo in password_auth_providers doc (diff)
downloadsynapse-09ac0569fe910ce4599a07e385522380ce1af6e1.tar.xz
Fix broken testcase (#8851)
This test was broken by #8565. It doesn't need to set set `self.clock`
here anyway - that is done by `setUp`.
Diffstat (limited to 'tests/rest/admin/test_media.py')
-rw-r--r--tests/rest/admin/test_media.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/rest/admin/test_media.py b/tests/rest/admin/test_media.py
index 2a65ab33bd..dadf9db660 100644
--- a/tests/rest/admin/test_media.py
+++ b/tests/rest/admin/test_media.py
@@ -192,7 +192,6 @@ class DeleteMediaByDateSizeTestCase(unittest.HomeserverTestCase):
         self.handler = hs.get_device_handler()
         self.media_repo = hs.get_media_repository_resource()
         self.server_name = hs.hostname
-        self.clock = hs.clock
 
         self.admin_user = self.register_user("admin", "pass", admin=True)
         self.admin_user_tok = self.login("admin", "pass")