[Checkins] SVN: zc.selenium/trunk/src/zc/selenium/selenium.py added baseUrl directive to test-runner - so tests don't have to hardcode (host, port) information.

Roy Mathew roymath at yahoo.com
Fri Aug 15 12:46:02 EDT 2008


Log message for revision 89886:
  added baseUrl directive to test-runner - so tests don't have to hardcode (host,port) information.

Changed:
  U   zc.selenium/trunk/src/zc/selenium/selenium.py

-=-
Modified: zc.selenium/trunk/src/zc/selenium/selenium.py
===================================================================
--- zc.selenium/trunk/src/zc/selenium/selenium.py	2008-08-15 16:32:02 UTC (rev 89885)
+++ zc.selenium/trunk/src/zc/selenium/selenium.py	2008-08-15 16:46:01 UTC (rev 89886)
@@ -60,7 +60,8 @@
     url = base_url %{'port': port}
     url += ('/@@/selenium/TestRunner.html'
             '?test=tests%%2FTestSuite.html&'
-            'resultsUrl=%s/@@/selenium_results' %url)
+            'baseUrl=%s&'
+            'resultsUrl=%s/@@/selenium_results' % (url,url,))
     time.sleep(1)
     while zope_thread.isAlive():
         try:



More information about the Checkins mailing list