diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-11-09 11:00:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 11:00:30 -0500 |
commit | ff716b483b07b21de72d999250fdf9397003a914 (patch) | |
tree | 466db8d8885737346c41457cee9bf8fc549d387a /tests/media | |
parent | Bulk-invalidate e2e cached queries after claiming keys (#16613) (diff) | |
download | synapse-ff716b483b07b21de72d999250fdf9397003a914.tar.xz |
Return attrs for more media repo APIs. (#16611)
Diffstat (limited to 'tests/media')
-rw-r--r-- | tests/media/test_media_storage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/media/test_media_storage.py b/tests/media/test_media_storage.py index 15f5d644e4..a8e7a76b29 100644 --- a/tests/media/test_media_storage.py +++ b/tests/media/test_media_storage.py @@ -504,7 +504,7 @@ class MediaRepoTests(unittest.HomeserverTestCase): origin, media_id = self.media_id.split("/") info = self.get_success(self.store.get_cached_remote_media(origin, media_id)) assert info is not None - file_id = info["filesystem_id"] + file_id = info.filesystem_id thumbnail_dir = self.media_repo.filepaths.remote_media_thumbnail_dir( origin, file_id |