diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2021-12-16 20:59:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-16 14:59:56 -0500 |
commit | 8428ef66c73efcc01cdbe05ac8bc1c99c4c20a20 (patch) | |
tree | 071c623f9456559deb3aa2e3cae76a376b2cbdd1 /tests/rest/admin/test_media.py | |
parent | Add type hints to `synapse/storage/databases/main/transactions.py` (#11589) (diff) | |
download | synapse-8428ef66c73efcc01cdbe05ac8bc1c99c4c20a20.tar.xz |
Add type hints to `synapse/tests/rest/admin` (#11590)
Diffstat (limited to 'tests/rest/admin/test_media.py')
-rw-r--r-- | tests/rest/admin/test_media.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/rest/admin/test_media.py b/tests/rest/admin/test_media.py index 3f727788ce..86aff7575c 100644 --- a/tests/rest/admin/test_media.py +++ b/tests/rest/admin/test_media.py @@ -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 """ |