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

[minion-cvs] Patch from Lucky Green to change the banners again, plu...



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv17560/lib/mixminion

Modified Files:
	test.py 
Log Message:
Patch from Lucky Green to change the banners again, plus corresponding test case updates.

Index: test.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/test.py,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- test.py	4 Jan 2003 04:12:51 -0000	1.56
+++ test.py	4 Jan 2003 04:38:44 -0000	1.57
@@ -3680,10 +3680,10 @@
         ####
         # Tests escapeMessageForEmail
         self.assert_(stringContains(eme(message, None), message))
-        expect = "BEGINS ============\n"+\
+        expect = "BEGINS ========\n"+\
                  base64.encodestring(binmessage)+"====="
         self.assert_(stringContains(eme(binmessage, None), expect))
-        expect = "BEGINS ============\nDecoding handle: "+\
+        expect = "BEGINS ========\nDecoding handle: "+\
                  base64.encodestring(tag)+\
                  base64.encodestring(encoded)+"====="
         self.assert_(stringContains(eme(encoded, tag), expect))
@@ -3711,12 +3711,12 @@
 This message is not in plaintext.  It's either 1) a reply; 2) a forward
 message encrypted to you; or 3) junk.
 
-============ ANONYMOUS MESSAGE BEGINS ============
+======= TYPE III ANONYMOUS MESSAGE BEGINS ========
 Decoding handle: eHh4eHh4eHh4eHh4eHh4eHh4eHg=
 7/rOqx76yt7v+s6rHvrK3u/6zqse+sre7/rOqx76yt7v+s6rHvrK3u/6zqse+sre7/rOqx76yt7v
 +s6rHvrK3u/6zqse+sre7/rOqx76yt7v+s6rHvrK3u/6zqse+sre7/rOqx76yt7v+s6rHvrK3u/6
 zqse+sre7/rOqx76yt7v+s6rHvrK3u/6zqse+sre7/rOqx76yt7v+s6rHvrK3g==
-============= ANONYMOUS MESSAGE ENDS =============
+======== TYPE III ANONYMOUS MESSAGE ENDS =========
 """
 
 class ModuleTests(unittest.TestCase):
@@ -4191,7 +4191,7 @@
         ## Test empty keystore
         eq(None, ks.getServerInfo("Fred"))
         self.assertRaises(MixError, ks.getServerInfo, "Fred", strict=1)
-        fred = ks.getServerInfo(os.path.join(impdirname, "fred2"))
+        fred = ks.getServerInfo(os.path.join(impdirname, "Fred2"))
         self.assertEquals("Fred", fred.getNickname())
         self.assertSameSD(edesc["Fred"][2],fred)