[Neo-report] r1782 gregory - /trunk/neo/tests/zodb/testZODB.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 16 17:42:33 CET 2010


Author: gregory
Date: Tue Feb 16 17:42:32 2010
New Revision: 1782

Log:
Change imports to avoid a double scan of test cases.

If ZODBTests is imported at module level, TestLoader handle it and find
dupliucates test cases.

Modified:
    trunk/neo/tests/zodb/testZODB.py

Modified: trunk/neo/tests/zodb/testZODB.py
==============================================================================
--- trunk/neo/tests/zodb/testZODB.py [iso-8859-1] (original)
+++ trunk/neo/tests/zodb/testZODB.py [iso-8859-1] Tue Feb 16 17:42:32 2010
@@ -16,11 +16,11 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
 import unittest
-from ZODB.tests.testZODB import ZODBTests
+from ZODB.tests import testZODB
 
 from neo.tests.zodb import ZODBTestCase
 
-class NEOZODBTests(ZODBTestCase, ZODBTests):
+class NEOZODBTests(ZODBTestCase, testZODB.ZODBTests):
     pass
 
 if __name__ == "__main__":





More information about the Neo-report mailing list