diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-01-12 18:16:27 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-01-12 18:16:27 +0000 |
commit | db72a07ef52dd3a911978df9a13f23febdcc00ce (patch) | |
tree | 9cb6b968dc37b456eefac4da314388e545033eec /tests | |
parent | Check that setting typing notification still works after explicit timeout - S... (diff) | |
download | synapse-db72a07ef52dd3a911978df9a13f23febdcc00ce.tar.xz |
Don't make @unittest.DEBUG print the huge amount of verbosity generated by the synapse.storage loggers
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittest.py b/tests/unittest.py index a9c0e05541..fe26b7574f 100644 --- a/tests/unittest.py +++ b/tests/unittest.py @@ -69,6 +69,8 @@ class TestCase(unittest.TestCase): return ret logging.getLogger().setLevel(level) + # Don't set SQL logging + logging.getLogger("synapse.storage").setLevel(old_level) return orig() def assertObjectHasAttributes(self, attrs, obj): |