summary refs log tree commit diff
path: root/tests/app/test_frontend_proxy.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant calls to `render()`Richard van der Hoff2020-11-161-7/+3
|
* use global make_request() directly where we have a custom ResourceRichard van der Hoff2020-11-151-6/+7
| | | | | | 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`.
* Solidify the HomeServer constructor. (#8515)Jonathan de Jong2020-10-151-1/+1
| | | | | | This implements a more standard API for instantiating a homeserver and moves some of the dependency injection into the test suite. More concretely this stops using `setattr` on all `kwargs` passed to `HomeServer`.
* Create a ListenerConfig object (#7681)Richard van der Hoff2020-06-161-14/+12
| | | | | | | | | | This ended up being a bit more invasive than I'd hoped for (not helped by generic_worker duplicating some of the code from homeserver), but hopefully it's an improvement. The idea is that, rather than storing unstructured `dict`s in the config for the listener configurations, we instead parse it into a structured `ListenerConfig` object.
* Remove spurious "name" parameter to `default_config`Richard van der Hoff2020-03-241-2/+2
| | | | | this is never set to anything other than "test", and is a source of unnecessary boilerplate.
* set worker_app for frontend proxy test (#7003)Richard van der Hoff2020-02-271-0/+5
| | | to stop the federationhandler trying to do master stuff
* Merge worker apps into one. (#6964)Erik Johnston2020-02-251-8/+4
|
* Fix a test docstring in frontend proxy testsJason Robinson2019-01-231-1/+1
| | | | Signed-off-by: Jason Robinson <jasonr@matrix.org>
* Port tests/ to Python 3 (#3808)Amber Brown2018-09-071-2/+2
|
* Integrate presence from hotfixes (#3694)Amber Brown2018-08-181-0/+88