[Buildbot-commits] buildbot/buildbot/test test_config.py,1.27,1.28

Brian Warner warner at users.sourceforge.net
Fri Oct 14 20:07:59 UTC 2005


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

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

oops, fix bug resulting from deferredResult changes


Index: test_config.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_config.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- test_config.py	14 Oct 2005 19:47:58 -0000	1.27
+++ test_config.py	14 Oct 2005 20:07:57 -0000	1.28
@@ -460,7 +460,7 @@
         master.loadConfig(emptyCfg)
         self.failUnlessEqual(list(master.change_svc), [])
 
-        sourcesCfg = emptyCfg + \
+        self.sourcesCfg = emptyCfg + \
 """
 from buildbot.changes.freshcvs import FreshCVSSource
 s1 = FreshCVSSource('cvs.example.com', 1000, 'pname', 'spass',
@@ -468,7 +468,7 @@
 c['sources'] = [s1]
 """
 
-        d = master.loadConfig(sourcesCfg)
+        d = master.loadConfig(self.sourcesCfg)
         d.addCallback(self._testSources_1)
         return maybeWait(d)
 
@@ -482,7 +482,7 @@
         self.failUnless(s1.parent)
 
         # verify that unchanged sources are not interrupted
-        d = self.buildmaster.loadConfig(sourcesCfg)
+        d = self.buildmaster.loadConfig(self.sourcesCfg)
         d.addCallback(self._testSources_2)
         return d
 





More information about the Commits mailing list