Commit 671d24b5 authored by Sebastien Robin's avatar Sebastien Robin

test_result: make this test live test friendly

The code was not working as expected when we had several test nodes with same name
(which should not happen). So add a timestamp in the title.
parent 0b199f4d
......@@ -389,7 +389,7 @@ class TestTaskDistribution(ERP5TypeTestCase):
self.assertEqual("stopped", test_result.getSimulationState())
def test_05c_createTestResult_with_registered_test_node(self):
node_title = 'Node0OinkUink'
node_title = 'Node0OinkUink' + DateTime().strftime('%Y%m%d%H%M%S')
# "register" Test Node
test_node = self.portal.test_node_module.newContent(
portal_type='Test Node', title=node_title)
......
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