synapse-old/tests/rest/media/v1
Patrick Cloke b312769c0e
Do not error when thumbnailing invalid files (#8236)
If a file cannot be thumbnailed for some reason (e.g. the file is empty), then
catch the exception and convert it to a reasonable error message for the client.
2020-09-09 12:59:41 -04: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 Do not error when thumbnailing invalid files (#8236) 2020-09-09 12:59:41 -04:00
test_url_preview.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00