Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 09ac056

Browse files
authored
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`.
1 parent d1be293 commit 09ac056

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

changelog.d/8851.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Simplify the way the `HomeServer` object caches its internal attributes.

tests/rest/admin/test_media.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ def prepare(self, reactor, clock, hs):
192192
self.handler = hs.get_device_handler()
193193
self.media_repo = hs.get_media_repository_resource()
194194
self.server_name = hs.hostname
195-
self.clock = hs.clock
196195

197196
self.admin_user = self.register_user("admin", "pass", admin=True)
198197
self.admin_user_tok = self.login("admin", "pass")

0 commit comments

Comments
 (0)