- Sep 16, 2021
-
-
Patrick Cloke authored
To avoid duplicating it between a few tests.
-
- Jul 13, 2021
-
-
Jonathan de Jong authored
This PR is tantamount to running: python3.8 -m com2ann -v 6 tests/ (com2ann requires python 3.8 to run)
-
- Apr 14, 2021
-
-
Jonathan de Jong authored
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>`>
-
- Apr 13, 2021
-
-
Dan Callahan authored
Signed-off-by:
Dan Callahan <danc@element.io>
-
- Apr 09, 2021
-
-
Patrick Cloke authored
-
- Mar 09, 2021
-
-
Patrick Cloke authored
Type hint fixes due to Twisted 21.2.0 adding type hints.
-
- Jan 18, 2021
-
-
Richard van der Hoff authored
* Factor out a common TestHtmlParser Looks like I'm doing this in a few different places. * Improve OIDC login test Complete the OIDC login flow, rather than giving up halfway through. * Ensure that OIDC login works with multiple OIDC providers * Fix bugs in handling clientRedirectUrl - don't drop duplicate query-params, or params with no value - allow utf-8 in query-params
-
- Dec 15, 2020
-
-
Richard van der Hoff authored
* move simple_async_mock to test_utils ... so that it can be re-used * Remove references to `SamlHandler._map_saml_response_to_user` from tests This method is going away, so we can no longer use it as a test point. Instead, factor out a higher-level method which takes a SAML object, and verify correct behaviour by mocking out `AuthHandler.complete_sso_login`. * changelog
-
- Dec 14, 2020
-
-
Patrick Cloke authored
-
- Dec 02, 2020
-
-
Richard van der Hoff authored
-
- Oct 30, 2020
-
-
Patrick Cloke authored
-
- Oct 27, 2020
-
-
Dan Callahan authored
This allows trailing commas in multi-line arg lists. Minor, but we might as well keep our formatting current with regard to our minimum supported Python version. Signed-off-by:
Dan Callahan <danc@element.io>
-
- Sep 18, 2020
-
-
Jonathan de Jong authored
-
- Sep 11, 2020
-
-
Erik Johnston authored
-
- Sep 08, 2020
-
-
Patrick Cloke authored
-
- Sep 01, 2020
-
-
Patrick Cloke authored
-
- Jul 24, 2020
-
-
Patrick Cloke authored
-
- Jul 22, 2020
-
-
Patrick Cloke authored
-
- Jul 05, 2020
-
-
Will Hunt authored
The CI appears to use the latest version of isort, which is a problem when isort gets a major version bump. Rather than try to pin the version, I've done the necessary to make isort5 happy with synapse.
-
- May 05, 2020
-
-
Erik Johnston authored
This caused `prev_state_ids` to be incorrect if the state event was not replacing an existing state entry.
-
- Apr 29, 2020
-
-
Richard van der Hoff authored
* Factor out functions for injecting events into database I want to add some more flexibility to the tools for injecting events into the database, and I don't want to clutter up HomeserverTestCase with them, so let's factor them out to a new file. * Rework TestReplicationDataHandler This wasn't very easy to work with: the mock wrapping was largely superfluous, and it's useful to be able to inspect the received rows, and clear out the received list. * Fix AssertionErrors being thrown by EventsStream Part of the problem was that there was an off-by-one error in the assertion, but also the limit logic was too simple. Fix it all up and add some tests.
-
- Jul 03, 2019
-
-
Amber Brown authored
-
- Jun 20, 2019
-
-
Amber Brown authored
-
- May 10, 2019
-
-
Amber Brown authored
-
- Jan 29, 2019
-
-
Richard van der Hoff authored
I got fed up with always adding '@unittest.DEBUG' every time I needed to debug a test.
-