summary refs log tree commit diff
path: root/tests/test_terms_auth.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Proper types for tests.test_terms_auth (#15007)David Robertson2023-02-071-6/+13
| | | | | * Proper types for tests.test_terms_auth * Changelog
* Use literals in place of `HTTPStatus` constants in tests (#13463)Dirk Klimpel2022-08-051-3/+3
|
* Remove unnecessary `json.dumps` from tests (#13303)Dirk Klimpel2022-07-171-22/+17
|
* Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke2022-02-281-3/+3
|
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-171-1/+1
|
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-2/+1
|
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-151-3/+3
| | | | This was never used, so let's get rid of it.
* Remove redundant `HomeserverTestCase.render`Richard van der Hoff2020-11-161-3/+0
|
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-5/+4
|
* Merge pull request #7157 from matrix-org/rev.outbound_device_pokes_testsRichard van der Hoff2020-03-301-2/+2
|\ | | | | Add tests for outbound device pokes
| * 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.
* | Validate that the session is not modified during UI-Auth (#7068)Patrick Cloke2020-03-261-1/+2
|/
* Refactor code for calculating registration flows (#6106)Richard van der Hoff2019-09-251-9/+15
| | | | | | | | | because, frankly, it looked like it was written by an axe-murderer. This should be a non-functional change, except that where `m.login.dummy` was previously advertised *before* `m.login.terms`, it will now be advertised afterwards. AFAICT that should have no effect, and will be more consistent with the flows that involve passing a 3pid.
* Terms might not be the last stageDavid Baker2019-05-131-1/+1
|
* Run Black on the tests again (#5170)Amber Brown2019-05-101-4/+4
|
* Fix the terms UI auth testsTravis Ralston2018-11-151-1/+1
| | | By setting the config value directly, we skip the block that adds the slash automatically for us.
* Remove some boilerplate in tests (#4156)Amber Brown2018-11-071-3/+2
|
* Add config variables for enabling terms auth and the policy name (#4142)Travis Ralston2018-11-061-2/+3
| | | | So people can still collect consent the old way if they want to.
* The tests also need a version parameter Travis Ralston2018-10-311-1/+1
|
* pep8Travis Ralston2018-10-241-5/+3
|
* It helps to import thingsTravis Ralston2018-10-241-0/+16
|
* Move test to where the other integration tests areTravis Ralston2018-10-241-0/+109