summary refs log tree commit diff
path: root/tests/rest/admin/test_media.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removes unnecessary declarations in the tests for the admin API. (#9063)Dirk Klimpel2021-01-111-2/+0
|
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-151-36/+26
| | | | This was never used, so let's get rid of it.
* Fix broken testcase (#8851)Richard van der Hoff2020-12-011-1/+0
| | | | This test was broken by #8565. It doesn't need to set set `self.clock` here anyway - that is done by `setUp`.
* Remove redundant `HomeserverTestCase.render`Richard van der Hoff2020-11-161-23/+0
|
* Make `make_request` actually render the requestRichard van der Hoff2020-11-161-6/+0
| | | | | | remove the stubbing out of `request.process`, so that `requestReceived` also renders the request via the appropriate resource. Replace render() with a stub for now.
* use global make_request() directly where we have a custom ResourceRichard van der Hoff2020-11-151-3/+10
| | | | | | Where we want to render a request against a specific Resource, call the global make_request() function rather than the one in HomeserverTestCase, allowing us to pass in an appropriate `Site`.
* Add an admin api to delete local media. (#8519)Dirk Klimpel2020-10-261-0/+568
Related to: #6459, #3479 Add `DELETE /_synapse/admin/v1/media/<server_name>/<media_id>` to delete a single file from server.