Commit 6d6c3680 authored by Nicolas Dumazet's avatar Nicolas Dumazet

remove unused imports, correct error from r29738


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29741 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6fb9296c
...@@ -36,7 +36,6 @@ from AccessControl.SecurityManagement import newSecurityManager ...@@ -36,7 +36,6 @@ from AccessControl.SecurityManagement import newSecurityManager
from zLOG import LOG from zLOG import LOG
from DateTime import DateTime from DateTime import DateTime
from Products.CMFCore.tests.base.testcase import LogInterceptor from Products.CMFCore.tests.base.testcase import LogInterceptor
from Testing.ZopeTestCase.PortalTestCase import PortalTestCase
from Products.ERP5Type.tests.utils import createZODBPythonScript, todo_erp5 from Products.ERP5Type.tests.utils import createZODBPythonScript, todo_erp5
from Products.ZSQLCatalog.ZSQLCatalog import HOT_REINDEXING_FINISHED_STATE,\ from Products.ZSQLCatalog.ZSQLCatalog import HOT_REINDEXING_FINISHED_STATE,\
HOT_REINDEXING_RECORDING_STATE, HOT_REINDEXING_DOUBLE_INDEXING_STATE HOT_REINDEXING_RECORDING_STATE, HOT_REINDEXING_DOUBLE_INDEXING_STATE
...@@ -1951,7 +1950,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor): ...@@ -1951,7 +1950,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
get_transaction().commit() get_transaction().commit()
self.tic() self.tic()
PortalTestCase.self.login('bob') self.login('bob')
self.assertEquals([obj2], [x.getObject() for x in self.assertEquals([obj2], [x.getObject() for x in
obj.searchFolder(portal_type='Bank Account')]) obj.searchFolder(portal_type='Bank Account')])
# now if we pass the bank account in deleted state, it's no longer returned # now if we pass the bank account in deleted state, it's no longer returned
......
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