[Buildbot-commits] buildbot/buildbot/test test_steps.py,1.17,1.18
Brian Warner
warner at users.sourceforge.net
Fri Jun 16 05:27:54 UTC 2006
Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29414/buildbot/test
Modified Files:
test_steps.py
Log Message:
[project @ improve BuildStepStatus creation and setting]
Original author: warner at lothar.com
Date: 2006-06-16 01:01:40
Index: test_steps.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_steps.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- test_steps.py 24 Oct 2005 21:49:18 -0000 1.17
+++ test_steps.py 16 Jun 2006 05:27:52 -0000 1.18
@@ -101,7 +101,7 @@
c = MyShellCommand(workdir=dir, command=cmd, build=self.build,
timeout=10)
self.assertEqual(self.remote.events, expectedEvents)
- self.build_status.addStep(c)
+ c.step_status = self.build_status.addStep("myshellcommand")
d = c.startStep(self.remote)
self.failUnless(c.started)
rc = c.rc
More information about the Commits
mailing list