[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] Backport to python 2.0



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.seul.org:/tmp/cvs-serv27882/lib/mixminion

Modified Files:
	test.py 
Log Message:
Backport to python 2.0

Index: test.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/test.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- test.py	21 Oct 2002 02:31:34 -0000	1.32
+++ test.py	21 Oct 2002 02:52:03 -0000	1.33
@@ -1045,7 +1045,7 @@
 	tag = "dref"*5
         longStr2 = longStr * 2
 
-        def getLongRoutingInfo(longStr2=longStr2):
+        def getLongRoutingInfo(longStr2=longStr2,tag=tag):
             return MBOXInfo(longStr2,tag)
 
         server4 = FakeServerInfo("127.0.0.1", 1, self.pk1, "X"*20)
@@ -2957,6 +2957,7 @@
 	keyring.createKeys(1, mixminion.Common.previousMidnight(
 	    start - 10*24*60*60 +60))
 	self.assertEquals(4, len(keyring.keyIntervals))
+        waitForChildren() # make sure keys are really gone before we remove
 	keyring.removeDeadKeys()
 	self.assertEquals(3, len(keyring.keyIntervals))