Commit 06c656e0 authored by Benjamin Blanc's avatar Benjamin Blanc

Fix typo

parent 370c1476
......@@ -333,14 +333,9 @@ branch = %(branch)s
portal_url = config['test_suite_master_url']
portal = taskdistribution.TaskDistributionTool(portal_url, logger=DummyLogger(log))
test_suite_portal = taskdistribution.TaskDistributor(portal_url, logger=DummyLogger(log))
print portal_url
print test_suite_portal.getTestType()
self.test_suite_portal = test_suite_portal
test_suite_portal.subscribeNode(config['test_node_title'], config['computer_id'])
test_suite_portal.subscribeNode(config['test_node_title'], config['computer_id'])
test_suite_json = test_suite_portal.startTestSuite(config['test_node_title'])
test_suite_data = deunicodeData(json.loads(test_suite_json))
......@@ -353,7 +348,7 @@ branch = %(branch)s
# into nexedi/master-erp5..
# (just UnitTestDistributor should be sufficient)
try:
my_type_test = portal.getTestType()
my_type_test = test_suite_portal.getTestType()
except:
log("testnode, error during requesting getTestType() method \
from the distributor.")
......
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