Commit f82df2db authored by Grégory Wisniewski's avatar Grégory Wisniewski

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.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1782 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 250bad2e
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import unittest import unittest
from ZODB.tests.testZODB import ZODBTests from ZODB.tests import testZODB
from neo.tests.zodb import ZODBTestCase from neo.tests.zodb import ZODBTestCase
class NEOZODBTests(ZODBTestCase, ZODBTests): class NEOZODBTests(ZODBTestCase, testZODB.ZODBTests):
pass pass
if __name__ == "__main__": if __name__ == "__main__":
......
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