[Buildbot-commits] buildbot/buildbot/test test_steps.py,1.39,1.40
Brian Warner
warner at users.sourceforge.net
Tue Jul 17 19:48:42 UTC 2007
Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22951/buildbot/test
Modified Files:
test_steps.py
Log Message:
[project @ add BuildStep.getLog]
Original author: warner at lothar.com
Date: 2007-07-17 19:48:16+00:00
Index: test_steps.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_steps.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- test_steps.py 18 Jun 2007 02:52:49 -0000 1.39
+++ test_steps.py 17 Jul 2007 19:48:40 -0000 1.40
@@ -236,6 +236,8 @@
self.failUnlessEqual(len(logs), 1)
l1 = logs[0]
self.failUnlessEqual(l1.getText(), "some stdout here")
+ l1a = s.getLog("newlog")
+ self.failUnlessEqual(l1a.getText(), "some stdout here")
def test_addHTMLLog(self):
s = makeBuildStep("test_steps.Steps.test_addHTMLLog")
@@ -255,6 +257,8 @@
self.failUnlessEqual(len(logs), 1)
l1 = logs[0]
self.failUnlessEqual(l1.getText(), "some stdout here")
+ l1a = s.getLog("newlog")
+ self.failUnlessEqual(l1a.getText(), "some stdout here")
def test_addLogObserver(self):
s = makeBuildStep("test_steps.Steps.test_addLogObserver")
More information about the Commits
mailing list