[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Update a test to work correctly with one of the changes...



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

Modified Files:
	test.py 
Log Message:
Update a test to work correctly with one of the changes from last night

Index: test.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/test.py,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -d -r1.187 -r1.188
--- test.py	2 Mar 2004 05:40:14 -0000	1.187
+++ test.py	2 Mar 2004 18:52:24 -0000	1.188
@@ -693,7 +693,7 @@
         enc = enc.split("\n")
         enc[-10:-5] = [ "[...]" ]
         enc = "\n".join(enc)
-        self.assertRaises(ValueError, unarmorText, enc, ["MUNGED"], 1)
+        self.assertRaises(UIError, unarmorText, enc, ["MUNGED"], 1)
 
         # Test base64fn and concatenation.
         enc1 = armorText(inp2, "THIS THAT", [("H-64", "0")], 0)