[Checkins] SVN: gocept.selenium/branches/janjaapdriessen-wsgi/src/gocept/selenium/ztk/tests/test_selenese.py Fix test after making host/port dynamic.

Jan-Jaap Driessen jdriessen at thehealthagency.com
Wed Nov 17 11:01:50 EST 2010


Log message for revision 118445:
  Fix test after making host/port dynamic.

Changed:
  U   gocept.selenium/branches/janjaapdriessen-wsgi/src/gocept/selenium/ztk/tests/test_selenese.py

-=-
Modified: gocept.selenium/branches/janjaapdriessen-wsgi/src/gocept/selenium/ztk/tests/test_selenese.py
===================================================================
--- gocept.selenium/branches/janjaapdriessen-wsgi/src/gocept/selenium/ztk/tests/test_selenese.py	2010-11-17 15:47:12 UTC (rev 118444)
+++ gocept.selenium/branches/janjaapdriessen-wsgi/src/gocept/selenium/ztk/tests/test_selenese.py	2010-11-17 16:01:50 UTC (rev 118445)
@@ -160,7 +160,7 @@
     def test_location(self):
         self.selenium.open('/')
         self.assertEquals(
-            'http://localhost:8087/',
+            'http://%s:%s/' % (self.layer.host, self.layer.port),
             self.selenium.getLocation())
 
     def test_alert_not_present(self):



More information about the checkins mailing list