From 4317403666c15987c4157d08fe2014870a2d59b9 Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Tue, 1 Feb 2011 11:39:40 +0000
Subject: [PATCH] With MyISAM full text catalog bt5 we need to use deferred
 connection only for catalog / uncatalog methods.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42886 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Catalog/tests/testERP5Catalog.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/product/ERP5Catalog/tests/testERP5Catalog.py b/product/ERP5Catalog/tests/testERP5Catalog.py
index ae32da840e..010c1f000d 100644
--- a/product/ERP5Catalog/tests/testERP5Catalog.py
+++ b/product/ERP5Catalog/tests/testERP5Catalog.py
@@ -1241,10 +1241,8 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
     self.failUnless(erp5_sql_deferred_connection is not None)
     self.assertEquals('Z MySQL Deferred Database Connection',
                       erp5_sql_deferred_connection.meta_type)
-    for method in ['z0_drop_fulltext',
-                   'z0_uncatalog_fulltext',
-                   'z_catalog_fulltext_list',
-                   'z_create_fulltext', ]:
+    for method in ['z0_uncatalog_fulltext',
+                   'z_catalog_fulltext_list']:
       self.assertEquals('erp5_sql_deferred_connection',
                 getattr(self.getCatalogTool().getSQLCatalog(),
                               method).connection_id)
-- 
2.30.9