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

erp5_wendelin/testWendelin: Drop redundant code

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