Commit f384fd28 authored by Łukasz Nowak's avatar Łukasz Nowak

Prove that it is possible to stop draft test line

parent f4e62284
...@@ -452,6 +452,8 @@ class TestTaskDistribution(ERP5TypeTestCase): ...@@ -452,6 +452,8 @@ class TestTaskDistribution(ERP5TypeTestCase):
history_line['time'] = now - 1 history_line['time'] = now - 1
self._callRestartStuckTestResultAlarm() self._callRestartStuckTestResultAlarm()
checkTestResultLine([('testBar', 'started'), ('testFoo', 'draft')]) checkTestResultLine([('testBar', 'started'), ('testFoo', 'draft')])
self.tool.stopUnitTest(line_url, {})
checkTestResultLine([('testBar', 'started'), ('testFoo', 'stopped')])
def test_07_reportTaskFailure(self): def test_07_reportTaskFailure(self):
test_result_path, revision = self._createTestResult(node_title="Node0") test_result_path, revision = self._createTestResult(node_title="Node0")
......
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