Commit bb51945c authored by Jérome Perrin's avatar Jérome Perrin

testcase: enable logging even when in non verbose

otherwise logged error and critical messages are just ignored.
parent 97d0ab60
......@@ -136,8 +136,8 @@ def makeModuleSetUpAndTestCaseClass(
# type: () -> None
if debug:
unittest.installHandler()
if verbose or debug:
logging.basicConfig(level=logging.DEBUG)
logging.basicConfig(
level=logging.DEBUG if (verbose or debug) else logging.WARNING)
installSoftwareUrlList(cls, [software_url], debug=debug)
return setUpModule, SlapOSInstanceTestCase_
......
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