[Checkins] SVN: gocept.selenium/branches/wosc-zodb-isolation/src/gocept/selenium/zope2/tests/zope212/test_zope212.py Add test for ZODB isolation for Zope2-2.12
Wolfgang Schnerring
wosc at wosc.de
Sun Dec 26 08:43:32 EST 2010
Log message for revision 119127:
Add test for ZODB isolation for Zope2-2.12
Changed:
U gocept.selenium/branches/wosc-zodb-isolation/src/gocept/selenium/zope2/tests/zope212/test_zope212.py
-=-
Modified: gocept.selenium/branches/wosc-zodb-isolation/src/gocept/selenium/zope2/tests/zope212/test_zope212.py
===================================================================
--- gocept.selenium/branches/wosc-zodb-isolation/src/gocept/selenium/zope2/tests/zope212/test_zope212.py 2010-12-26 13:40:52 UTC (rev 119126)
+++ gocept.selenium/branches/wosc-zodb-isolation/src/gocept/selenium/zope2/tests/zope212/test_zope212.py 2010-12-26 13:43:32 UTC (rev 119127)
@@ -12,12 +12,12 @@
#
##############################################################################
-import unittest
-import gocept.selenium.zope2
+from gocept.selenium.zope2 import BASE_LAYERS
from gocept.selenium.zope2 import testing
-from gocept.selenium.zope2 import BASE_LAYERS
+import Testing.ZopeTestCase
import gocept.selenium.tests.isolation
-import Testing.ZopeTestCase
+import gocept.selenium.zope2
+import unittest
Testing.ZopeTestCase.installProduct('Five')
@@ -27,6 +27,9 @@
layer = gocept.selenium.zope2.Layer(testing.isolationLayer, *BASE_LAYERS)
+ def getDatabase(self):
+ return gocept.selenium.zope2.get_current_db()
+
def test_suite():
return unittest.makeSuite(Zope212Tests)
More information about the checkins
mailing list