[Buildbot-commits] buildbot/buildbot/test test_web.py,1.52,1.53

Brian Warner warner at users.sourceforge.net
Sat Mar 22 22:14:30 UTC 2008


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

Modified Files:
	test_web.py 
Log Message:
[project @ test_web.py: hush some pyflakes warnings]

Original author: warner at lothar.com
Date: 2008-03-22 22:02:48+00:00

Index: test_web.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_web.py,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- test_web.py	22 Nov 2007 00:20:12 -0000	1.52
+++ test_web.py	22 Mar 2008 22:14:25 -0000	1.53
@@ -362,14 +362,14 @@
     def _testMissingBase_1(self, res):
         s = self.status
         self.assertNoURL(s)
-        builder = s.getBuilder("b1")
-        self.assertNoURL(builder)
+        builder_s = s.getBuilder("b1")
+        self.assertNoURL(builder_s)
 
     def testBase(self):
         s = self.status
         self.assertURLEqual(s, "")
-        builder = s.getBuilder("b1")
-        self.assertURLEqual(builder, "builders/b1")
+        builder_s = s.getBuilder("b1")
+        self.assertURLEqual(builder_s, "builders/b1")
 
     def testChange(self):
         s = self.status
@@ -389,11 +389,11 @@
 
     def _testBuild_1(self, res):
         s = self.status
-        builder = s.getBuilder("b1")
-        build = builder.getLastFinishedBuild()
-        self.assertURLEqual(build, "builders/b1/builds/0")
+        builder_s = s.getBuilder("b1")
+        build_s = builder_s.getLastFinishedBuild()
+        self.assertURLEqual(build_s, "builders/b1/builds/0")
         # no page for builder.getEvent(-1)
-        step = build.getSteps()[0]
+        step = build_s.getSteps()[0]
         self.assertURLEqual(step, "builders/b1/builds/0/steps/remote%20dummy")
         # maybe page for build.getTestResults?
         self.assertURLEqual(step.getLogs()[0],





More information about the Commits mailing list