[Buildbot-commits] buildbot/buildbot/test test_web.py,1.40,1.41

Brian Warner warner at users.sourceforge.net
Tue Feb 27 23:07:18 UTC 2007


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

Modified Files:
	test_web.py 
Log Message:
[project @ web-parts: fix more issues resulting from moving html.py into web/*]

Original author: warner at lothar.com
Date: 2007-02-27 22:14:46

Index: test_web.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_web.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- test_web.py	7 Feb 2007 04:25:29 -0000	1.40
+++ test_web.py	27 Feb 2007 23:07:16 -0000	1.41
@@ -12,6 +12,7 @@
 
 from buildbot import master, interfaces, sourcestamp
 from buildbot.status import html, builder
+from buildbot.status.web import waterfall
 from buildbot.changes.changes import Change
 from buildbot.process import base
 from buildbot.process.buildstep import BuildStep
@@ -230,7 +231,7 @@
         d.addCallback(self._test_waterfall_3)
         return d
     def _test_waterfall_3(self, icon):
-        expected = open(html.buildbot_icon,"rb").read()
+        expected = open(waterfall.buildbot_icon,"rb").read()
         self.failUnless(icon == expected)
 
         d = client.getPage("http://localhost:%d/changes" % self.port)
@@ -264,7 +265,7 @@
         s = setupBuildStepStatus("test_web.test_urls")
         s.addURL("coverage", "http://coverage.example.org/target")
         s.addURL("icon", "http://coverage.example.org/icon.png")
-        box = html.IBox(s).getBox()
+        box = waterfall.IBox(s).getBox()
         td = box.td()
         e1 = '[<a href="http://coverage.example.org/target" class="BuildStep external">coverage</a>]'
         self.failUnlessSubstring(e1, td)





More information about the Commits mailing list