summary refs log tree commit diff
path: root/tests/unittest.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | | 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 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 ↵Paul "LeoNerd" Evans2015-01-121-0/+2
| | | | the synapse.storage loggers
* 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 ↵Paul "LeoNerd" Evans2014-09-121-10/+23
| | | | 'orig_*' noise of wrapping the setUp()/tearDown() methods
* Add some docstringsPaul "LeoNerd" Evans2014-09-121-0/+6
|
* Additionally look first for a 'loglevel' attribute on the running test ↵Paul "LeoNerd" Evans2014-09-121-3/+7
| | | | method, before the TestCase
* Define a (class) decorator for easily setting a DEBUG logging level on a ↵Paul "LeoNerd" Evans2014-09-121-0/+5
| | | | TestCase
* Allow a TestCase to set a 'loglevel' attribute, which overrides the logging ↵Paul "LeoNerd" Evans2014-09-121-1/+22
| | | | level while that testcase runs
* Have all unit tests import from our own subclass of trial's unittest ↵Paul "LeoNerd" Evans2014-09-121-0/+30
TestCase; set up logging in ONE PLACE ONLY