Commit 6a4cbf5e authored by Tatuya Kamada's avatar Tatuya Kamada Committed by Sebastien Robin

erp5testnode: Clean up code.

parent 2977aeec
...@@ -126,14 +126,10 @@ class NodeTestSuite(SlapOSInstance): ...@@ -126,14 +126,10 @@ class NodeTestSuite(SlapOSInstance):
return self.getSuiteLogPath() return self.getSuiteLogPath()
def getSuiteLogPath(self): def getSuiteLogPath(self):
if getattr(self, "suite_log_path", None) is None: return getattr(self,"suite_log_path", None)
return None
return self.suite_log_path
def getSuiteLog(self): def getSuiteLog(self):
if getattr(self, "suite_log", None) is None: return getattr(self, "suite_log", None)
return None
return self.suite_log
def _initializeSuiteLog(self): def _initializeSuiteLog(self):
logger_format = '%(asctime)s %(name)-13s: %(levelname)-8s %(message)s' logger_format = '%(asctime)s %(name)-13s: %(levelname)-8s %(message)s'
......
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