[Buildbot-commits] buildbot/buildbot/test test_web.py,1.50,1.51

Brian Warner warner at users.sourceforge.net
Wed Oct 10 08:33:01 UTC 2007


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

Modified Files:
	test_web.py 
Log Message:
[project @ fix getURLForThing, it was out-of-date, and add tests. Closes #112.]

Original author: warner at lothar.com
Date: 2007-10-10 08:32:16+00:00

Index: test_web.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_web.py,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- test_web.py	28 Sep 2007 09:33:36 -0000	1.50
+++ test_web.py	10 Oct 2007 08:32:59 -0000	1.51
@@ -369,7 +369,7 @@
         s = self.status
         self.assertURLEqual(s, "")
         builder = s.getBuilder("b1")
-        self.assertURLEqual(builder, "b1")
+        self.assertURLEqual(builder, "builders/b1")
 
     def testChange(self):
         s = self.status
@@ -391,13 +391,13 @@
         s = self.status
         builder = s.getBuilder("b1")
         build = builder.getLastFinishedBuild()
-        self.assertURLEqual(build, "b1/builds/0")
+        self.assertURLEqual(build, "builders/b1/builds/0")
         # no page for builder.getEvent(-1)
         step = build.getSteps()[0]
-        self.assertURLEqual(step, "b1/builds/0/step-remote%20dummy")
+        self.assertURLEqual(step, "builders/b1/builds/0/steps/remote%20dummy")
         # maybe page for build.getTestResults?
         self.assertURLEqual(step.getLogs()[0],
-                            "b1/builds/0/step-remote%20dummy/0")
+                            "builders/b1/builds/0/steps/remote%20dummy/logs/0")
 
 
 





More information about the Commits mailing list