Commit bb451659 authored by Sebastien Robin's avatar Sebastien Robin

erp5testnode : fixed some syntax errors

parent bc8e51ee
...@@ -68,7 +68,6 @@ class TestNode(object): ...@@ -68,7 +68,6 @@ class TestNode(object):
shutil.rmtree(fpath) shutil.rmtree(fpath)
else: else:
os.remove(fpath) os.remove(fpath)
pass
def updateConfigForTestSuite(self, test_suite_data): def updateConfigForTestSuite(self, test_suite_data):
config = self.config config = self.config
...@@ -354,8 +353,7 @@ branch = %(branch)s ...@@ -354,8 +353,7 @@ branch = %(branch)s
# a reliable way to check if they are up or not ... # a reliable way to check if they are up or not ...
time.sleep(20) time.sleep(20)
self.runTestSuite(revision_dict,portal_url) self.runTestSuite(revision_dict,portal_url)
if test_result is not None: test_result.removeWatch(log_file_name)
test_result.removeWatch(log_file_name)
except SubprocessError, e: except SubprocessError, e:
log("SubprocessError", exc_info=sys.exc_info()) log("SubprocessError", exc_info=sys.exc_info())
if test_result is not None: if test_result is not None:
......
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