Commit a31d90bb authored by Benjamin Blanc's avatar Benjamin Blanc

tests: correct testERP5testnode to take into account...

tests: correct testERP5testnode to take into account 2c627797 modifications
parent e44ceb5c
......@@ -517,7 +517,7 @@ ignore-ssl-certificate = true
os.makedirs(test_result_path_root)
global counter
counter = 0
def patch_startTestSuite(self,test_node_title):
def patch_startTestSuite(self,test_node_title, *args, **kw):
global counter
config_list = []
# Sclalability slave testnode is not directly in charge of testsuites
......@@ -699,7 +699,7 @@ ignore-ssl-certificate = true
os.makedirs(test_result_path_root)
global counter
counter = 0
def patch_startTestSuite(self,test_node_title):
def patch_startTestSuite(self,test_node_title, *args, **kw):
global counter
config_list = [test_self.getTestSuiteData(reference='aa')[0],
test_self.getTestSuiteData(reference='bb')[0]]
......@@ -947,7 +947,7 @@ ignore-ssl-certificate = true
return result
global startTestSuiteDone
startTestSuiteDone = False
def patch_startTestSuite(self,test_node_title):
def patch_startTestSuite(self,test_node_title, *args, **kw):
config_list = []
global startTestSuiteDone
if not startTestSuiteDone:
......
......@@ -200,6 +200,7 @@ branch = %(branch)s
if not os.path.exists(repository_path):
parameter_list = [config['git_binary'], 'clone',
vcs_repository['url']]
if branch is not None:
parameter_list.extend(['-b', branch])
parameter_list.append(repository_path)
log(subprocess.check_output(parameter_list, stderr=subprocess.STDOUT))
......
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