Commit dfc39b78 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

feat(testing): activate debug mode during testing

parent ceeb196cb877
Pipeline #64039 passed with stage
......@@ -417,7 +417,16 @@ class CubicWebTC(BaseTestCase):
MAILBOX[:] = [] # reset mailbox
self.previous_log_threshold = self.config.config.log_threshold
# I want debug all the time because god
self.config.global_set_option("log-threshold", "DEBUG")
self.config.init_log(self.config["log-threshold"], force=True)
def tearDown(self):
self.config.global_set_option("log-threshold", self.previous_log_threshold)
self.config.init_log(self.config["log-threshold"], force=True)
while self._cleanups:
cleanup, args, kwargs = self._cleanups.pop(-1)
cleanup(*args, **kwargs)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment