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( ...@@ -136,8 +136,8 @@ def makeModuleSetUpAndTestCaseClass(
# type: () -> None # type: () -> None
if debug: if debug:
unittest.installHandler() unittest.installHandler()
if verbose or debug: logging.basicConfig(
logging.basicConfig(level=logging.DEBUG) level=logging.DEBUG if (verbose or debug) else logging.WARNING)
installSoftwareUrlList(cls, [software_url], debug=debug) installSoftwareUrlList(cls, [software_url], debug=debug)
return setUpModule, SlapOSInstanceTestCase_ 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