[Buildbot-commits] buildbot/buildbot/test test_web.py,1.23,1.24

Brian Warner warner at users.sourceforge.net
Sun Oct 23 06:10:09 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12411/buildbot/test

Modified Files:
	test_web.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-366
Creator:  Brian Warner <warner at lothar.com>

fix test_web to match valid-HTML changes

	* buildbot/test/test_web.py (Waterfall): match changes


Index: test_web.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_web.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- test_web.py	20 Oct 2005 22:25:29 -0000	1.23
+++ test_web.py	23 Oct 2005 06:10:07 -0000	1.24
@@ -209,7 +209,7 @@
     def _test_waterfall_1(self, page, port):
         self.failUnless(page)
         self.failUnlessIn("current activity", page)
-        self.failUnlessIn("<html>", page)
+        self.failUnlessIn("<html", page)
         TZ = time.tzname[time.daylight]
         self.failUnlessIn("time (%s)" % TZ, page)
 
@@ -219,7 +219,7 @@
         return d
     def _test_waterfall_2(self, page, port):
         self.failUnless(page)
-        self.failUnlessIn("<html>", page)
+        self.failUnlessIn("<html", page)
 
         d = client.getPage("http://localhost:%d/favicon.ico" % port)
         d.addCallback(self._test_waterfall_3, port)





More information about the Commits mailing list