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

Brian Warner warner at users.sourceforge.net
Fri Sep 28 09:33:38 UTC 2007


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

Modified Files:
	test_web.py 
Log Message:
[project @ test_web.py: fix test failure caused by FakeRequest being too fake]

Original author: warner at lothar.com
Date: 2007-09-28 09:32:21+00:00

Index: test_web.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_web.py,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- test_web.py	28 Sep 2007 09:33:31 -0000	1.49
+++ test_web.py	28 Sep 2007 09:33:36 -0000	1.50
@@ -280,6 +280,8 @@
         s.addURL("coverage", "http://coverage.example.org/target")
         s.addURL("icon", "http://coverage.example.org/icon.png")
         class FakeRequest:
+            prepath = []
+            postpath = []
             def childLink(self, name):
                 return name
         req = FakeRequest()





More information about the Commits mailing list