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

Brian Warner warner at users.sourceforge.net
Sat Oct 15 19:19:20 UTC 2005


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

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

fix the testSources bug, for real this time


Index: test_config.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_config.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- test_config.py	14 Oct 2005 20:07:57 -0000	1.28
+++ test_config.py	15 Oct 2005 19:19:18 -0000	1.29
@@ -483,10 +483,10 @@
 
         # verify that unchanged sources are not interrupted
         d = self.buildmaster.loadConfig(self.sourcesCfg)
-        d.addCallback(self._testSources_2)
+        d.addCallback(self._testSources_2, s1)
         return d
 
-    def _testSources_2(self, res):
+    def _testSources_2(self, res, s1):
         self.failUnlessEqual(len(list(self.buildmaster.change_svc)), 1)
         s2 = list(self.buildmaster.change_svc)[0]
         self.failUnlessIdentical(s1, s2)





More information about the Commits mailing list