0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-13 21:41:30 +01:00
synapse/tests/rest/media/v1
Patrick Cloke a7882f9887
Return a 404 if no valid thumbnail is found. (#9163)
If no thumbnail of the requested type exists, return a 404 instead
of erroring. This doesn't quite match the spec (which does not define
what happens if no thumbnail can be found), but is consistent with
what Synapse already does.
2021-01-21 14:53:58 -05:00
..
__init__.py Add unit tests 2018-01-18 16:32:11 +00:00
test_base.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_media_storage.py Return a 404 if no valid thumbnail is found. (#9163) 2021-01-21 14:53:58 -05:00
test_url_preview.py Skip unit tests which require optional dependencies (#9031) 2021-01-07 11:41:28 +00:00