[Checkins] SVN: zc.selenium/branches/wosc-zope2/src/zc/selenium/tests.py make self-test match for both zope2 and zope3

Wolfgang Schnerring wosc at wosc.de
Wed Feb 18 04:52:32 EST 2009


Log message for revision 96687:
  make self-test match for both zope2 and zope3
  

Changed:
  U   zc.selenium/branches/wosc-zope2/src/zc/selenium/tests.py

-=-
Modified: zc.selenium/branches/wosc-zope2/src/zc/selenium/tests.py
===================================================================
--- zc.selenium/branches/wosc-zope2/src/zc/selenium/tests.py	2009-02-18 09:47:05 UTC (rev 96686)
+++ zc.selenium/branches/wosc-zope2/src/zc/selenium/tests.py	2009-02-18 09:52:31 UTC (rev 96687)
@@ -32,7 +32,8 @@
 
     def test_open(self):
         self.selenium.open('http://%s/' % self.selenium.server)
-        self.selenium.verifyTextPresent('Zope')
+        # could be zope3 or zope2
+        self.selenium.verifyTextPresent('regexp:Login|Zope Quick Start')
 
 
 class HTTPTest(unittest.TestCase):



More information about the Checkins mailing list