[Buildbot-commits] buildbot/buildbot/test test_mailparse.py,1.3,1.4

Brian Warner warner at users.sourceforge.net
Wed May 18 07:49:32 UTC 2005


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

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

rename Change(tag=) to branch=

	* buildbot/changes/changes.py: rename tag= to branch=, since
	that's how we're using it, and my design for the upcoming "build a
	specific branch" feature wants it. also, tag= was too CVS-centric
	* buildbot/changes/mail.py (parseSyncmail): same
	* buildbot/process/base.py (Build.isBranchImportant): same
	* buildbot/test/test_mailparse.py (Test3.testMsgS4): same
	* docs/buildbot.texinfo (Attributes of Changes): same

	* NEWS: update tag=, update for upcoming release


Index: test_mailparse.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_mailparse.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- test_mailparse.py	6 May 2005 04:42:41 -0000	1.3
+++ test_mailparse.py	18 May 2005 07:49:30 -0000	1.4
@@ -232,7 +232,7 @@
                                    ])
         self.assertEqual(c.comments, "test cases for syncmail parser\n")
         self.assertEqual(c.isdir, 0)
-        self.assertEqual(c.tag, None)
+        self.assertEqual(c.branch, None)
 
     # tests a tag
     def testMsgS5(self):
@@ -244,5 +244,5 @@
                                    'test1/autogen.sh',
                                    'test1/configure.in' 
                                    ])
-        self.assertEqual(c.tag, "BRANCH-DEVEL")
+        self.assertEqual(c.branch, "BRANCH-DEVEL")
         self.assertEqual(c.isdir, 0)





More information about the Commits mailing list