Commit Graph

52 Commits (45df38e61bb876208d032cf3480230cecff6cdd8)

Author SHA1 Message Date
Richard van der Hoff 2091c91fde
More refactoring in `get_events_as_list` (#5707) 5 years ago
Richard van der Hoff 6bb0357c94
Add a mechanism for per-test configs (#5657) 5 years ago
Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 5 years ago
Erik Johnston 8ee69f299c Add basic function to get all data for a user out of synapse 5 years ago
Amber Brown f40a7dc41f
Make the http server handle coroutine-making REST servlets (#5475) 5 years ago
Richard van der Hoff c3c6b00d95
Pass config_dir_path and data_dir_path into Config.read_config. (#5522) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Amber Brown 6312d6cc7c
Expose statistics on extrems to prometheus (#5384) 6 years ago
Erik Johnston 10383e6e6f Change password reset links to /_matrix. 6 years ago
Amber Brown df2ebd75d3
Migrate all tests to use the dict-based config format instead of hanging items off HomeserverConfig (#5171) 6 years ago
Amber Brown b36c82576e
Run Black on the tests again (#5170) 6 years ago
Richard van der Hoff 59e2d2694d
Remove the requirement to authenticate for /admin/server_version. (#5122) 6 years ago
Brendan Abolivier 8e85493b0c
Add config option to block users from looking up 3PIDs (#5010) 6 years ago
Amber Brown a68e00fca8
Some more porting to HomeserverTestCase and remove old RESTHelper (#4913) 6 years ago
Amber Brown 282c97327f
Migrate the user directory initial population to a background task (#4864) 6 years ago
Richard van der Hoff 2c3548d9d8
Update test_typing to use HomeserverTestCase. (#4771) 6 years ago
Richard van der Hoff 5488cadaae
Enable configuring test log level via env var (#4506) 6 years ago
Amber Brown 58f6c48183
Use native UPSERTs where possible (#4306) 6 years ago
Neil Johnson d2f7c4e6b1
create support user (#4141) 6 years ago
Richard van der Hoff 48972ce9d1
Patch defer.inlineCallbacks to check logcontexts in tests (#4205) 6 years ago
Richard van der Hoff a44c0a096f Check logcontexts before and after each test (#4190) 6 years ago
Richard van der Hoff de8772a655 Do a GC after each test to fix logcontext leaks (#4227) 6 years ago
Amber Brown e62f7f17b3
Remove some boilerplate in tests (#4156) 6 years ago
Amber Brown efdcbbe46b
Tests for user consent resource (#4140) 6 years ago
Amber Brown 0dce9e1379
Write some tests for the email pusher (#4095) 6 years ago
Amber Brown 6e05fd032c
Fix userconsent on Python 3 (#3938) 6 years ago
Schnuffle dc5db01ff2 Replaced all occurences of e.message with str(e) 6 years ago
Amber Brown 1f3f5fcf52
Fix client IPs being broken on Python 3 (#3908) 6 years ago
Amber Brown aeca5a5ed5
Add a regression test for logging on failed connections (#3912) 6 years ago
Amber Brown 77055dba92
Fix tests on postgresql (#3740) 6 years ago
Amber Brown 14e4d4f4bf
Port storage/ to Python 3 (#3725) 6 years ago
Amber Brown c334ca67bb
Integrate presence from hotfixes (#3694) 6 years ago
Amber Brown bdfbd934d6
Implement a new test baseclass to cut down on boilerplate (#3684) 6 years ago
black 8b3d9b6b19 Run black. 6 years ago
Amber Brown bc006b3c9d
Refactor REST API tests to use explicit reactors (#3351) 6 years ago
Amber Brown 94f09618e5 cleanups 7 years ago
Amber Brown 77078d6c8e handle federation not telling us about prev_events 7 years ago
Amber Brown 5dbf305444
Put python's logs into Trial when running unit tests (#3319) 7 years ago
Richard van der Hoff f8fa5ae4af enable twisted delayedcall debugging in UTs 7 years ago
Richard van der Hoff f16f0e169d Slightly saner logging for unittests 8 years ago
Mark Haines 700487a7c7 Fix flake8 warnings for tests 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Paul "LeoNerd" Evans db72a07ef5 Don't make @unittest.DEBUG print the huge amount of verbosity generated by the synapse.storage loggers 10 years ago
Paul "LeoNerd" Evans 7aacd6834a Added a useful unit test primitive for asserting object attributes 10 years ago
Paul "LeoNerd" Evans 7a77aabb4b Define a CLOS-like 'around' modifier as a decorator, to neaten up the 'orig_*' noise of wrapping the setUp()/tearDown() methods 10 years ago
Paul "LeoNerd" Evans aeb69c0f8c Add some docstrings 10 years ago
Paul "LeoNerd" Evans d9f3f322c5 Additionally look first for a 'loglevel' attribute on the running test method, before the TestCase 10 years ago
Paul "LeoNerd" Evans 33c4dd4c2d Define a (class) decorator for easily setting a DEBUG logging level on a TestCase 10 years ago
Paul "LeoNerd" Evans ca8349a897 Allow a TestCase to set a 'loglevel' attribute, which overrides the logging level while that testcase runs 10 years ago
Paul "LeoNerd" Evans cd62ee3f29 Have all unit tests import from our own subclass of trial's unittest TestCase; set up logging in ONE PLACE ONLY 10 years ago