[Erp5-report] r44873 aurel - /erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 31 11:50:08 CEST 2011


Author: aurel
Date: Thu Mar 31 11:50:08 2011
New Revision: 44873

URL: http://svn.erp5.org?rev=44873&view=rev
Log:
also remove movement table from sql_search_tables property of catalog

Modified:
    erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py

Modified: erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py?rev=44873&r1=44872&r2=44873&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] Thu Mar 31 11:50:08 2011
@@ -785,15 +785,18 @@ class TestERP5BankingMixin(ERP5TypeTestC
     sql_catalog_object_list = list(catalog.sql_catalog_object_list)
     sql_uncatalog_object = list(catalog.sql_uncatalog_object)
     sql_clear_catalog = list(catalog.sql_clear_catalog)
+    sql_search_tables = list(catalog.sql_search_tables)
 
     sql_catalog_object_list.remove("z_catalog_movement_list")
     sql_uncatalog_object.remove("z0_uncatalog_movement")
     sql_clear_catalog.remove("z0_drop_movement")
     sql_clear_catalog.remove("z_create_movement")
+    sql_search_tables.remove("movement")
 
     catalog.sql_catalog_object_list = tuple(sql_catalog_object_list)
     catalog.sql_uncatalog_object = tuple(sql_uncatalog_object)
     catalog.sql_clear_catalog = tuple(sql_clear_catalog)
+    catalog.sql_search_tables = tuple(sql_search_tables)
 
     # the default currency for the site
     if not self.portal.hasProperty('reference_currency_id'):



More information about the Erp5-report mailing list