From 32aa59706ee1782a6e7aa505cdbc5bb0ca7fc616 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 12 May 2017 02:47:23 +0000
Subject: [PATCH] test: small cleanup

Tests should not need to reindex modules
---
 product/ERP5Form/tests/testPreferences.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/product/ERP5Form/tests/testPreferences.py b/product/ERP5Form/tests/testPreferences.py
index 26f6260017..8cc577b15b 100644
--- a/product/ERP5Form/tests/testPreferences.py
+++ b/product/ERP5Form/tests/testPreferences.py
@@ -77,9 +77,6 @@ class TestPreferences(PropertySheetTestCase):
         id='site', portal_type='Preference')
     site.setPriority(Priority.SITE)
 
-    # commit transaction
-    self.commit()
-    self.getPreferenceTool().recursiveReindexObject()
     self.tic()
 
     # check preference levels are Ok
-- 
2.30.9