Commit c7051b51 authored by Benjamin Blanc's avatar Benjamin Blanc

Test getFooFoo for test_suite_portal in testnode

parent 981e3dc7
......@@ -335,6 +335,12 @@ branch = %(branch)s
portal = taskdistribution.TaskDistributionTool(portal_url, logger=DummyLogger(log))
self.test_suite_portal = taskdistribution.TaskDistributor(portal_url, logger=DummyLogger(log))
self.test_suite_portal.subscribeNode(config['test_node_title'], config['computer_id'])
print deunicodeData(self.test_suite_portal.getFooFooFoo())
time.sleep(12)
test_suite_json = self.test_suite_portal.startTestSuite(config['test_node_title'])
test_suite_data = deunicodeData(json.loads(test_suite_json))
log("Got following test suite data from master : %r" % \
......@@ -342,8 +348,6 @@ branch = %(branch)s
##/BLOCK OK
print deunicodeData(self.test_suite_portal.getFooFooFoo())
# TODO : implement this method for each distributor
# into nexedi/master-erp5..
......
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