[Buildbot-commits] buildbot/buildbot/test test_web.py,1.28,1.29

Brian Warner warner at users.sourceforge.net
Sun May 21 22:38:21 UTC 2006


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

Modified Files:
	test_web.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-553
Creator:  Brian Warner <warner at lothar.com>

use repr(filename) in test_web.py, to try and fix a windows failure

	(Waterfall.test_waterfall): tweak the way that filenames are put
	into the config file, to accomodate windows pathnames better.


Index: test_web.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_web.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- test_web.py	21 May 2006 22:11:15 -0000	1.28
+++ test_web.py	21 May 2006 22:38:19 -0000	1.29
@@ -199,8 +199,8 @@
         config1 = base_config + """
 from buildbot.changes import mail
 c['sources'] = [mail.SyncmailMaildirSource('my-maildir')]
-c['status'] = [html.Waterfall(http_port=0, robots_txt='%s')]
-""" % self.robots_txt
+c['status'] = [html.Waterfall(http_port=0, robots_txt=%s)]
+""" % repr(self.robots_txt)
 
         self.master = m = ConfiguredMaster("test_web4", config1)
         m.startService()





More information about the Commits mailing list