[Checkins] SVN: gocept.selenium/trunk/ Split out buildout configs for the plone.testing:zope2 tests
Wolfgang Schnerring
wosc at wosc.de
Tue Dec 28 05:29:12 EST 2010
Log message for revision 119187:
Split out buildout configs for the plone.testing:zope2 tests
Changed:
A gocept.selenium/trunk/plonetesting-zope210.cfg
A gocept.selenium/trunk/plonetesting-zope212.cfg
U gocept.selenium/trunk/src/gocept/selenium/plonetesting/tests/plone3/test_plone3.py
U gocept.selenium/trunk/src/gocept/selenium/plonetesting/tests/plone4/test_plone4.py
-=-
Added: gocept.selenium/trunk/plonetesting-zope210.cfg
===================================================================
--- gocept.selenium/trunk/plonetesting-zope210.cfg (rev 0)
+++ gocept.selenium/trunk/plonetesting-zope210.cfg 2010-12-28 10:29:12 UTC (rev 119187)
@@ -0,0 +1,15 @@
+[buildout]
+extends = common.cfg
+ common-zope210.cfg
+flavour = [plonetesting]
+
+[versions]
+zope.testing = 3.9.5
+zc.buildout=1.5.2
+zc.recipe.testrunner=1.3.0
+plone.testing = 3.0a1
+
+[test]
+defaults = ['-s', 'gocept.selenium.plonetesting.tests.zope2',
+ '--tests-pattern', 'test_']
+extra-paths = ${zope2:location}/lib/python
Added: gocept.selenium/trunk/plonetesting-zope212.cfg
===================================================================
--- gocept.selenium/trunk/plonetesting-zope212.cfg (rev 0)
+++ gocept.selenium/trunk/plonetesting-zope212.cfg 2010-12-28 10:29:12 UTC (rev 119187)
@@ -0,0 +1,12 @@
+[buildout]
+extends = common.cfg
+ http://dist.plone.org/release/4.0-latest/versions.cfg
+flavour = [plonetesting]
+
+[versions]
+plone.testing = 4.0a3
+plone.app.testing = 4.0a3
+
+[test]
+defaults = ['-s', 'gocept.selenium.plonetesting.tests.zope2',
+ '--tests-pattern', 'test_']
Modified: gocept.selenium/trunk/src/gocept/selenium/plonetesting/tests/plone3/test_plone3.py
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/plonetesting/tests/plone3/test_plone3.py 2010-12-28 10:22:32 UTC (rev 119186)
+++ gocept.selenium/trunk/src/gocept/selenium/plonetesting/tests/plone3/test_plone3.py 2010-12-28 10:29:12 UTC (rev 119187)
@@ -17,7 +17,6 @@
import gocept.selenium.plonetesting
import gocept.selenium.plonetesting.testing_plone
import gocept.selenium.tests.isolation
-import unittest
class Plone3Tests(gocept.selenium.tests.isolation.IsolationTests,
@@ -34,10 +33,3 @@
sel.click('name=submit')
sel.waitForPageToLoad()
sel.assertTextPresent('Welcome! You are now logged in.')
-
-
-def test_suite():
- suite = unittest.makeSuite(Plone3Tests)
- from gocept.selenium.plonetesting.tests.zope2 import test_zope2
- suite.addTest(test_zope2.test_suite())
- return suite
Modified: gocept.selenium/trunk/src/gocept/selenium/plonetesting/tests/plone4/test_plone4.py
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/plonetesting/tests/plone4/test_plone4.py 2010-12-28 10:22:32 UTC (rev 119186)
+++ gocept.selenium/trunk/src/gocept/selenium/plonetesting/tests/plone4/test_plone4.py 2010-12-28 10:29:12 UTC (rev 119187)
@@ -17,7 +17,6 @@
import gocept.selenium.plonetesting
import gocept.selenium.plonetesting.testing_plone
import gocept.selenium.tests.isolation
-import unittest
class Plone4Tests(gocept.selenium.tests.isolation.IsolationTests,
@@ -36,10 +35,3 @@
sel.click('name=submit')
sel.waitForPageToLoad()
sel.assertTextPresent(SITE_OWNER_NAME)
-
-
-def test_suite():
- suite = unittest.makeSuite(Plone4Tests)
- from gocept.selenium.plonetesting.tests.zope2 import test_zope2
- suite.addTest(test_zope2.test_suite())
- return suite
More information about the checkins
mailing list