[Erp5-report] r43458 vincent - /erp5/trunk/products/ERP5Catalog/tests/testArchive.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 18 06:56:31 CET 2011


Author: vincent
Date: Fri Feb 18 06:56:30 2011
New Revision: 43458

URL: http://svn.erp5.org?rev=43458&view=rev
Log:
Also install erp5_full_text_myisam_catalog.

ArchiveTool requires 2 connections to be present in current catalog to work,
a deferred one (which was moved to separate fulltext BTs) and the "usual" one.
This design is brittle (eg will give unpredictable results if catalog uses a
3rd connection), but it should probably not be changed right now.

Modified:
    erp5/trunk/products/ERP5Catalog/tests/testArchive.py

Modified: erp5/trunk/products/ERP5Catalog/tests/testArchive.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Catalog/tests/testArchive.py?rev=43458&r1=43457&r2=43458&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Catalog/tests/testArchive.py [utf8] (original)
+++ erp5/trunk/products/ERP5Catalog/tests/testArchive.py [utf8] Fri Feb 18 06:56:30 2011
@@ -61,7 +61,10 @@ class TestArchive(InventoryAPITestCase):
     return "ERP5Archive"
 
   def getBusinessTemplateList(self):
-    return InventoryAPITestCase.getBusinessTemplateList(self) + ('erp5_archive',)
+    return InventoryAPITestCase.getBusinessTemplateList(self) + (
+      'erp5_archive',
+      'erp5_full_text_myisam_catalog',
+    )
 
   # Different variables used for this test
   run_all_test = 0



More information about the Erp5-report mailing list