Skip to content

Commit e76dc83

Browse files
committed
fix tests again
1 parent f0083c4 commit e76dc83

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/rest/admin/test_media.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ def prepare(self, reactor: MemoryReactor, clock: Clock, hs: HomeServer) -> None:
761761
self.store = hs.get_datastores().main
762762
self.server_name = hs.hostname
763763

764-
def test_no_auth(self, kind: str) -> None:
764+
def test_no_auth(self) -> None:
765765
"""
766766
Try to list quarantined media changes without authentication.
767767
"""
@@ -774,7 +774,7 @@ def test_no_auth(self, kind: str) -> None:
774774
self.assertEqual(401, channel.code, msg=channel.json_body)
775775
self.assertEqual(Codes.MISSING_TOKEN, channel.json_body["errcode"])
776776

777-
def test_requester_is_not_admin(self, kind: str) -> None:
777+
def test_requester_is_not_admin(self) -> None:
778778
"""
779779
If the user is not a server admin, an error is returned.
780780
"""

0 commit comments

Comments
 (0)