summary refs log tree commit diff
path: root/tests/app/test_frontend_proxy.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split presence out of master (#9820)Erik Johnston2021-04-231-83/+0
|
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-151-2/+2
| | | | This was never used, so let's get rid of it.
* Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-021-1/+1
| | | | | | | | | | | | Replaces the `federation_ip_range_blacklist` configuration setting with an `ip_range_blacklist` setting with wider scope. It now applies to: * Federation * Identity servers * Push notifications * Checking key validitity for third-party invite events The old `federation_ip_range_blacklist` setting is still honored if present, but with reduced scope (it only applies to federation and identity servers).
* 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