Skip to content
Snippets Groups Projects
Unverified Commit 09ac0569 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

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`.
parent d1be293f
No related branches found
No related tags found
No related merge requests found
Simplify the way the `HomeServer` object caches its internal attributes.
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment