[devtools] don't hide warnings and errors during tests
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 12 Feb 2015 13:52:58 +0100
changeset 10231 fdcc500002ef
parent 10230 b02fbb68ee7a
child 10232 cda1bdc3652e
[devtools] don't hide warnings and errors during tests The markdown module in jessie turns all warnings into logging calls, so this allows me to still see deprecation warnings when running tests.
devtools/__init__.py
--- a/devtools/__init__.py	Fri Dec 05 11:25:35 2014 +0100
+++ b/devtools/__init__.py	Thu Feb 12 13:52:58 2015 +0100
@@ -251,7 +251,7 @@
     skip_db_create_and_restore = False
 
     def __init__(self, appid, apphome=None,
-                 log_threshold=logging.CRITICAL, sourcefile=None):
+                 log_threshold=logging.WARNING, sourcefile=None):
         BaseApptestConfiguration.__init__(self, appid, apphome,
                                           log_threshold=log_threshold)
         self.init_repository = sourcefile is None