mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 10:15:10 -04:00
Add type hints to synapse/tests/rest/admin
(#11590)
This commit is contained in:
parent
1847d027e6
commit
8428ef66c7
7 changed files with 74 additions and 57 deletions
|
@ -580,7 +580,9 @@ class DeleteMediaByDateSizeTestCase(unittest.HomeserverTestCase):
|
|||
|
||||
return server_and_media_id
|
||||
|
||||
def _access_media(self, server_and_media_id, expect_success=True) -> None:
|
||||
def _access_media(
|
||||
self, server_and_media_id: str, expect_success: bool = True
|
||||
) -> None:
|
||||
"""
|
||||
Try to access a media and check the result
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue