V02460
84f441f88f
Prepare unit tests for Python 3.12 ( #16099 )
8 months ago
David Robertson
4dd2b6165c
Proper types for tests.test_terms_auth ( #15007 )
* Proper types for tests.test_terms_auth
* Changelog
1 year ago
Dirk Klimpel
e2ed1b7155
Use literals in place of `HTTPStatus` constants in tests ( #13463 )
1 year ago
Dirk Klimpel
efee345b45
Remove unnecessary `json.dumps` from tests ( #13303 )
1 year ago
Patrick Cloke
02d708568b
Replace assertEquals and friends with non-deprecated versions. ( #12092 )
2 years ago
reivilibre
642a42edde
Flatten the synapse.rest.client package ( #10600 )
2 years ago
Patrick Cloke
0b3112123d
Use mock from the stdlib. ( #9772 )
3 years ago
Richard van der Hoff
394516ad1b
Remove spurious "SynapseRequest" result from `make_request"
This was never used, so let's get rid of it.
3 years ago
Richard van der Hoff
acfe3b3065
Remove redundant `HomeserverTestCase.render`
3 years ago
Dagfinn Ilmari Mannsåker
a3f11567d9
Replace all remaining six usage with native Python 3 equivalents ( #7704 )
3 years ago
Patrick Cloke
1c1242acba
Validate that the session is not modified during UI-Auth ( #7068 )
4 years ago
Richard van der Hoff
28d9d6e8a9
Remove spurious "name" parameter to `default_config`
this is never set to anything other than "test", and is a source of unnecessary
boilerplate.
4 years ago
Richard van der Hoff
8004d6ca2f
Refactor code for calculating registration flows ( #6106 )
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.
4 years ago
David Baker
822072b1bb
Terms might not be the last stage
5 years ago
Amber Brown
b36c82576e
Run Black on the tests again ( #5170 )
5 years ago
Travis Ralston
3da9781c98
Fix the terms UI auth tests
By setting the config value directly, we skip the block that adds the slash automatically for us.
5 years ago
Amber Brown
e62f7f17b3
Remove some boilerplate in tests ( #4156 )
5 years ago
Travis Ralston
0f5e51f726
Add config variables for enabling terms auth and the policy name ( #4142 )
So people can still collect consent the old way if they want to.
5 years ago
Travis Ralston
a8c9faa9a2
The tests also need a version parameter
5 years ago
Travis Ralston
a5468eaadf
pep8
5 years ago
Travis Ralston
81880beff4
It helps to import things
5 years ago
Travis Ralston
4acb6fe8a3
Move test to where the other integration tests are
5 years ago