[Buildbot-commits] buildbot/buildbot/test test_steps.py,1.15,1.16 test_status.py,1.25,1.26
Brian Warner
warner at users.sourceforge.net
Sun Oct 23 05:28:49 UTC 2005
Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7576/buildbot/test
Modified Files:
test_steps.py test_status.py
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-362
Creator: Brian Warner <warner at lothar.com>
fix some tests that broke because of the .nextBuildNumber change
* buildbot/test/test_steps.py (BuildStep.setUp): set
nextBuildNumber so the test passes
* buildbot/test/test_status.py (MyBuilder): same
Index: test_status.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_status.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- test_status.py 19 Oct 2005 06:26:10 -0000 1.25
+++ test_status.py 23 Oct 2005 05:28:46 -0000 1.26
@@ -89,7 +89,7 @@
return self.url
class MyBuilder(builder.BuilderStatus):
- pass
+ nextBuildNumber = 0
class MyBuild(builder.BuildStatus):
testlogs = []
Index: test_steps.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_steps.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- test_steps.py 22 Oct 2005 22:41:58 -0000 1.15
+++ test_steps.py 23 Oct 2005 05:28:46 -0000 1.16
@@ -71,6 +71,7 @@
self.builder = FakeBuilder()
self.builder_status = builder.BuilderStatus("fakebuilder")
self.builder_status.basedir = "test_steps"
+ self.builder_status.nextBuildNumber = 0
os.mkdir(self.builder_status.basedir)
self.build_status = self.builder_status.newBuild()
req = base.BuildRequest("reason", SourceStamp())
More information about the Commits
mailing list