summary refs log tree commit diff
path: root/tests/unittest.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-2/+1
* Record more information into structured logs. (#9654)Patrick Cloke2021-04-081-1/+1
* Ensure we use a copy of the event content dict before modifying it in seriali...Andrew Morgan2021-03-171-0/+10
* Enable flake8-bugbear, but disable most checks. (#9499)Jonathan de Jong2021-03-161-1/+1
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-1/+4
* Ratelimit 3PID /requestToken API (#9238)Erik Johnston2021-01-281-0/+5
* Skip unit tests which require optional dependencies (#9031)Richard van der Hoff2021-01-071-1/+27
* Implement a username picker for synapse (#8942)Richard van der Hoff2020-12-181-1/+7
* lintRichard van der Hoff2020-12-151-1/+1
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-151-38/+6
* fix up various test casesRichard van der Hoff2020-12-021-6/+19
* Add `create_resource_dict` method to HomeserverTestCaseRichard van der Hoff2020-12-021-7/+21
* Remove deprecated `/_matrix/client/*/admin` endpoints (#8785)Dirk Klimpel2020-11-251-2/+2
* Remove redundant `HomeserverTestCase.render`Richard van der Hoff2020-11-161-14/+0
* Remove redundant calls to `render()`Richard van der Hoff2020-11-161-8/+2
* Make `make_request` actually render the requestRichard van der Hoff2020-11-161-0/+8
* Merge branch 'develop' into rav/pass_site_to_make_requestRichard van der Hoff2020-11-161-11/+7
|\
| * Rename `create_test_json_resource` to `create_test_resource` (#8759)Richard van der Hoff2020-11-161-11/+7
* | fix dict handling for make_request()Richard van der Hoff2020-11-151-3/+0
* | pass a Site into make_requestRichard van der Hoff2020-11-151-0/+1
* | pass a Site into RestHelperRichard van der Hoff2020-11-151-1/+1
|/
* Add `displayname` to Shared-Secret Registration for admins (#8722)Dirk Klimpel2020-11-051-6/+13
* Fail test cases if they fail to await all awaitables (#8690)Patrick Cloke2020-10-301-1/+5
* Don't instansiate Requester directly (#8614)Erik Johnston2020-10-221-2/+2
* Add basic tests for sync/pagination with vector clock tokens. (#8488)Erik Johnston2020-10-141-1/+31
* Fix message duplication if something goes wrong after persisting the event (#...Erik Johnston2020-10-131-2/+9
* kill off `send_nonmember_event`Richard van der Hoff2020-10-051-1/+3
* Add unit test for event persister sharding (#8433)Erik Johnston2020-10-021-1/+1
* Add checks for postgres sequence consistency (#8402)Erik Johnston2020-09-281-1/+30
* Create a mechanism for marking tests "logcontext clean" (#8399)Richard van der Hoff2020-09-281-1/+14
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
* Show a confirmation page during user password reset (#8004)Andrew Morgan2020-09-101-0/+4
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Add a shadow-banned flag to users. (#8092)Patrick Cloke2020-08-141-2/+6
* Convert synapse.api to async/await (#8031)Patrick Cloke2020-08-061-14/+10
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-3/+3
* Convert the message handler to async/await. (#7884)Patrick Cloke2020-07-221-1/+3
* Create a ListenerConfig object (#7681)Richard van der Hoff2020-06-161-1/+1
* Fix limit logic for EventsStream (#7358)Richard van der Hoff2020-04-291-26/+4
* Set a logging context while running the bg updatesRichard van der Hoff2020-03-311-4/+7
* Merge pull request #7157 from matrix-org/rev.outbound_device_pokes_testsRichard van der Hoff2020-03-301-5/+3
|\
| * Add tests for outbound device pokesRichard van der Hoff2020-03-271-0/+1
| * Remove spurious "name" parameter to `default_config`Richard van der Hoff2020-03-241-5/+2
* | Clean up some LoggingContext stuff (#7120)Richard van der Hoff2020-03-241-4/+8
|/
* Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939)Richard van der Hoff2020-02-181-9/+19
* s/get_room_version/get_room_version_id/Richard van der Hoff2020-01-311-1/+3
* Fix `/events/:event_id` deprecated API. (#6731)Erik Johnston2020-01-201-1/+1
* Merge pull request #6629 from matrix-org/rav/kill_event_reference_hashesRichard van der Hoff2020-01-061-5/+1
|\
| * Remove unused hashes and depths from create_event paramsRichard van der Hoff2020-01-061-5/+1
* | Workaround for error when fetching notary's own key (#6620)Richard van der Hoff2020-01-061-1/+10
|/
* Merge pull request #6484 from matrix-org/erikj/port_sync_handlerErik Johnston2019-12-091-1/+6
|\
| * Port SyncHandler to async/awaitErik Johnston2019-12-051-1/+6
* | Move background update handling out of storeErik Johnston2019-12-051-4/+6
* | Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-051-1/+1
|/
* Remove underscore from SQLBaseStore functionsErik Johnston2019-12-041-1/+1
* Implementation of MSC2314 (#6176)Amber Brown2019-11-281-1/+67
* Remove DelayedCall debugging from test runs (#5787)Amber Brown2019-07-311-6/+0
* More refactoring in `get_events_as_list` (#5707)Richard van der Hoff2019-07-171-0/+1
* Merge pull request #5589 from matrix-org/erikj/admin_exfiltrate_dataErik Johnston2019-07-151-1/+1
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/admin_exfi...Erik Johnston2019-07-051-1/+1
| |\
| * | Add basic function to get all data for a user out of synapseErik Johnston2019-07-021-1/+1
* | | Add a mechanism for per-test configs (#5657)Richard van der Hoff2019-07-121-1/+54
| |/ |/|
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
|/
* Make the http server handle coroutine-making REST servlets (#5475)Amber Brown2019-06-291-8/+32
* Pass config_dir_path and data_dir_path into Config.read_config. (#5522)Richard van der Hoff2019-06-241-1/+1
* Run Black. (#5482)Amber Brown2019-06-201-10/+8
* Expose statistics on extrems to prometheus (#5384)Amber Brown2019-06-131-1/+60
* Change password reset links to /_matrix.Erik Johnston2019-06-111-0/+12
* Migrate all tests to use the dict-based config format instead of hanging item...Amber Brown2019-05-131-2/+10
* Run Black on the tests again (#5170)Amber Brown2019-05-101-4/+9
* Remove the requirement to authenticate for /admin/server_version. (#5122)Richard van der Hoff2019-05-071-4/+18
* Add config option to block users from looking up 3PIDs (#5010)Brendan Abolivier2019-04-041-1/+1
* Some more porting to HomeserverTestCase and remove old RESTHelper (#4913)Amber Brown2019-03-221-0/+12
* Migrate the user directory initial population to a background task (#4864)Amber Brown2019-03-191-2/+2
* Update test_typing to use HomeserverTestCase. (#4771)Richard van der Hoff2019-03-041-2/+6
* Enable configuring test log level via env var (#4506)Richard van der Hoff2019-01-291-30/+7
* Use native UPSERTs where possible (#4306)Amber Brown2019-01-241-2/+10
* create support user (#4141)Neil Johnson2018-12-141-0/+1
* Patch defer.inlineCallbacks to check logcontexts in tests (#4205)Richard van der Hoff2018-12-041-1/+3
* Check logcontexts before and after each test (#4190)Richard van der Hoff2018-11-271-2/+9
* Do a GC after each test to fix logcontext leaks (#4227)Richard van der Hoff2018-11-271-2/+13
* Remove some boilerplate in tests (#4156)Amber Brown2018-11-071-4/+6
* Tests for user consent resource (#4140)Amber Brown2018-11-061-2/+10
* Write some tests for the email pusher (#4095)Amber Brown2018-10-301-1/+8
* Fix userconsent on Python 3 (#3938)Amber Brown2018-10-021-1/+79
* Replaced all occurences of e.message with str(e)Schnuffle2018-09-271-1/+1
* Fix client IPs being broken on Python 3 (#3908)Amber Brown2018-09-201-2/+5
* Add a regression test for logging on failed connections (#3912)Amber Brown2018-09-201-1/+2
* Fix tests on postgresql (#3740)Amber Brown2018-09-041-2/+5
* Port storage/ to Python 3 (#3725)Amber Brown2018-08-311-0/+11
* Integrate presence from hotfixes (#3694)Amber Brown2018-08-181-1/+7
* Implement a new test baseclass to cut down on boilerplate (#3684)Amber Brown2018-08-141-0/+144
* Run black.black2018-08-101-2/+5
* Refactor REST API tests to use explicit reactors (#3351)Amber Brown2018-07-171-0/+11
* cleanupsAmber Brown2018-06-271-1/+4
* handle federation not telling us about prev_eventsAmber Brown2018-06-271-1/+1
* Put python's logs into Trial when running unit tests (#3319)Amber Brown2018-06-041-13/+27
* enable twisted delayedcall debugging in UTsRichard van der Hoff2018-01-091-1/+5
* Slightly saner logging for unittestsRichard van der Hoff2016-07-251-4/+7
* Fix flake8 warnings for testsMark Haines2016-02-191-3/+4
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Don't make @unittest.DEBUG print the huge amount of verbosity generated by th...Paul "LeoNerd" Evans2015-01-121-0/+2
* Added a useful unit test primitive for asserting object attributesPaul "LeoNerd" Evans2014-09-171-0/+11
* Define a CLOS-like 'around' modifier as a decorator, to neaten up the 'orig_*...Paul "LeoNerd" Evans2014-09-121-10/+23
* Add some docstringsPaul "LeoNerd" Evans2014-09-121-0/+6
* Additionally look first for a 'loglevel' attribute on the running test method...Paul "LeoNerd" Evans2014-09-121-3/+7
* Define a (class) decorator for easily setting a DEBUG logging level on a Test...Paul "LeoNerd" Evans2014-09-121-0/+5
* Allow a TestCase to set a 'loglevel' attribute, which overrides the logging l...Paul "LeoNerd" Evans2014-09-121-1/+22
* Have all unit tests import from our own subclass of trial's unittest TestCase...Paul "LeoNerd" Evans2014-09-121-0/+30