summary refs log tree commit diff
path: root/tests/rest/test_well_known.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor config to be an experimental featureHugh Nimmo-Smith2023-05-301-7/+10
| | | | Also enforce you can't combine it with incompatible config options
* Test MSC2965 implementation: well-known discovery documentHugh Nimmo-Smith2023-05-301-0/+38
|
* Use literals in place of `HTTPStatus` constants in tests (#13463)Dirk Klimpel2022-08-051-7/+5
|
* Add custom well-known (#13035)Jacek KuĊ›nierz2022-06-161-0/+22
| | | Co-authored-by: David Robertson <david.m.robertson1@gmail.com>
* Add type hints to `tests/rest` (#12146)Dirk Klimpel2022-03-031-9/+11
| | | | | | | * Add type hints to `tests/rest` * newsfile * change import from `SigningKey`
* Support for serving server well-known files (#11211)Richard van der Hoff2021-11-011-6/+26
| | | | Fixes https://github.com/matrix-org/synapse/issues/8308
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-6/+12
| | | | Instead of proxying through the magic getter of the RootConfig object. This should be more performant (and is more explicit).
* 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>`
* Backout changes for automatically calculating the public baseurl. (#9313)Patrick Cloke2021-02-111-0/+9
| | | | This breaks some people's configurations (if their Client-Server API is not accessed via port 443).
* Give `public_baseurl` a default value (#9159)Richard van der Hoff2021-01-201-9/+0
|
* 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.
* Replace `request.code` with `channel.code`Richard van der Hoff2020-12-151-2/+2
| | | | | | The two are equivalent, but really we want to check the HTTP result that got returned to the channel, not the code that the Request object *intended* to return to the channel.
* Remove redundant `HomeserverTestCase.render`Richard van der Hoff2020-11-161-2/+0
|
* Rename `create_test_json_resource` to `create_test_resource` (#8759)Richard van der Hoff2020-11-161-4/+2
| | | | | The root resource isn't necessarily a JsonResource, so rename this method accordingly, and update a couple of test classes to use the method rather than directly manipulating self.resource.
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
| | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py
* Run Black on the tests again (#5170)Amber Brown2019-05-101-8/+5
|
* Implement .well-known handling (#4262)Richard van der Hoff2018-12-051-0/+58
Sometimes it's useful for synapse to generate its own .well-known file.