Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update test_typing to use HomeserverTestCase. (#4771) | Richard van der Hoff | 2019-03-04 | 1 | -2/+6 |
| | |||||
* | Enable configuring test log level via env var (#4506) | Richard van der Hoff | 2019-01-29 | 1 | -30/+7 |
| | | | | I got fed up with always adding '@unittest.DEBUG' every time I needed to debug a test. | ||||
* | Use native UPSERTs where possible (#4306) | Amber Brown | 2019-01-24 | 1 | -2/+10 |
| | |||||
* | create support user (#4141) | Neil Johnson | 2018-12-14 | 1 | -0/+1 |
| | | | | | | Allow for the creation of a support user. A support user can access the server, join rooms, interact with other users, but does not appear in the user directory nor does it contribute to monthly active user limits. | ||||
* | Patch defer.inlineCallbacks to check logcontexts in tests (#4205) | Richard van der Hoff | 2018-12-04 | 1 | -1/+3 |
| | |||||
* | Check logcontexts before and after each test (#4190) | Richard van der Hoff | 2018-11-27 | 1 | -2/+9 |
| | | | | | | | | | | | | * Add better diagnostics to flakey keyring test * fix interpolation fail * Check logcontexts before and after each test * update changelog * update changelog | ||||
* | Do a GC after each test to fix logcontext leaks (#4227) | Richard van der Hoff | 2018-11-27 | 1 | -2/+13 |
| | | | | | | | | | | * Some words about garbage collections and logcontexts * Do a GC after each test to fix logcontext leaks This feels like an awful hack, but... * changelog | ||||
* | Remove some boilerplate in tests (#4156) | Amber Brown | 2018-11-07 | 1 | -4/+6 |
| | |||||
* | Tests for user consent resource (#4140) | Amber Brown | 2018-11-06 | 1 | -2/+10 |
| | |||||
* | Write some tests for the email pusher (#4095) | Amber Brown | 2018-10-30 | 1 | -1/+8 |
| | |||||
* | Fix userconsent on Python 3 (#3938) | Amber Brown | 2018-10-02 | 1 | -1/+79 |
| | |||||
* | Replaced all occurences of e.message with str(e) | Schnuffle | 2018-09-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Schnuffle <schnuffle@github.com> | ||||
* | Fix client IPs being broken on Python 3 (#3908) | Amber Brown | 2018-09-20 | 1 | -2/+5 |
| | |||||
* | Add a regression test for logging on failed connections (#3912) | Amber Brown | 2018-09-20 | 1 | -1/+2 |
| | |||||
* | Fix tests on postgresql (#3740) | Amber Brown | 2018-09-04 | 1 | -2/+5 |
| | |||||
* | Port storage/ to Python 3 (#3725) | Amber Brown | 2018-08-31 | 1 | -0/+11 |
| | |||||
* | Integrate presence from hotfixes (#3694) | Amber Brown | 2018-08-18 | 1 | -1/+7 |
| | |||||
* | Implement a new test baseclass to cut down on boilerplate (#3684) | Amber Brown | 2018-08-14 | 1 | -0/+144 |
| | |||||
* | Run black. | black | 2018-08-10 | 1 | -2/+5 |
| | |||||
* | Refactor REST API tests to use explicit reactors (#3351) | Amber Brown | 2018-07-17 | 1 | -0/+11 |
| | |||||
* | cleanups | Amber Brown | 2018-06-27 | 1 | -1/+4 |
| | |||||
* | handle federation not telling us about prev_events | Amber Brown | 2018-06-27 | 1 | -1/+1 |
| | |||||
* | Put python's logs into Trial when running unit tests (#3319) | Amber Brown | 2018-06-04 | 1 | -13/+27 |
| | |||||
* | enable twisted delayedcall debugging in UTs | Richard van der Hoff | 2018-01-09 | 1 | -1/+5 |
| | |||||
* | Slightly saner logging for unittests | Richard van der Hoff | 2016-07-25 | 1 | -4/+7 |
| | | | | | | | 1. Give the handler used for logging in unit tests a formatter, so that the output is slightly more meaningful 2. Log some synapse.storage stuff, because it's useful. | ||||
* | Fix flake8 warnings for tests | Mark Haines | 2016-02-19 | 1 | -3/+4 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Don't make @unittest.DEBUG print the huge amount of verbosity generated by ↵ | Paul "LeoNerd" Evans | 2015-01-12 | 1 | -0/+2 |
| | | | | the synapse.storage loggers | ||||
* | Added a useful unit test primitive for asserting object attributes | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -0/+11 |
| | |||||
* | Define a CLOS-like 'around' modifier as a decorator, to neaten up the ↵ | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -10/+23 |
| | | | | 'orig_*' noise of wrapping the setUp()/tearDown() methods | ||||
* | Add some docstrings | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -0/+6 |
| | |||||
* | Additionally look first for a 'loglevel' attribute on the running test ↵ | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -3/+7 |
| | | | | method, before the TestCase | ||||
* | Define a (class) decorator for easily setting a DEBUG logging level on a ↵ | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -0/+5 |
| | | | | TestCase | ||||
* | Allow a TestCase to set a 'loglevel' attribute, which overrides the logging ↵ | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -1/+22 |
| | | | | level while that testcase runs | ||||
* | Have all unit tests import from our own subclass of trial's unittest ↵ | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -0/+30 |
TestCase; set up logging in ONE PLACE ONLY |