[Buildbot-commits] buildbot/buildbot/test test_maildir.py,1.6,1.7

Brian Warner warner at users.sourceforge.net
Wed Aug 1 20:31:15 UTC 2007


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

Modified Files:
	test_maildir.py 
Log Message:
[project @ test_maildir.py: fix to match renames in test/mail/]

Original author: warner at lothar.com
Date: 2007-07-28 17:12:08+00:00

Index: test_maildir.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_maildir.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- test_maildir.py	23 Jan 2007 21:04:32 -0000	1.6
+++ test_maildir.py	1 Aug 2007 20:31:12 -0000	1.7
@@ -53,11 +53,13 @@
         s.startService()
         testfiles_dir = util.sibpath(__file__, "mail")
         testfiles = [msg for msg in os.listdir(testfiles_dir)
-                     if msg.startswith("msg")]
+                     if msg.startswith("freshcvs")]
+        assert testfiles
         testfiles.sort()
         count = len(testfiles)
         d = defer.Deferred()
 
+        i = 1
         for i in range(count):
             msg = testfiles[i]
             reactor.callLater(self.SECONDS_PER_MESSAGE*i, self.deliverMail,





More information about the Commits mailing list