Commit 2499d8f6 authored by Levin Zimmermann's avatar Levin Zimmermann

erp5_wendelin/testWendelin: Drop redundant code

As noted by @jm in !160 (comment 199327)
'self.tic() automatically commits first'. So let's drop redundant code
in tests.
parent 1c40febe
Pipeline #32809 failed with stage
in 0 seconds
...@@ -590,7 +590,6 @@ class Test(ERP5TypeTestCase): ...@@ -590,7 +590,6 @@ class Test(ERP5TypeTestCase):
self.assertNotEqual(ingestion_policy, None) self.assertNotEqual(ingestion_policy, None)
self.commit()
self.tic() self.tic()
self.addCleanup(self._removeDocument, ingestion_policy) self.addCleanup(self._removeDocument, ingestion_policy)
...@@ -750,7 +749,6 @@ result = [x for x in data_bucket_stream.getBucketIndexKeySequenceByIndex()] ...@@ -750,7 +749,6 @@ result = [x for x in data_bucket_stream.getBucketIndexKeySequenceByIndex()]
for data_analysis_title in data_analysis_title_list: for data_analysis_title in data_analysis_title_list:
self.assertEqual(getDataAnalysisByTitle(data_analysis_title), None) self.assertEqual(getDataAnalysisByTitle(data_analysis_title), None)
self.commit()
self.tic() self.tic()
self.portal.portal_alarms.wendelin_handle_analysis.activeSense() self.portal.portal_alarms.wendelin_handle_analysis.activeSense()
......
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