[Python-checkins] python/dist/src/Lib/email/test test_email.py, 1.67.2.1, 1.67.2.2

anthonybaxter@users.sourceforge.net anthonybaxter at users.sourceforge.net
Wed Jun 8 06:56:44 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib/email/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25755/email/test

Modified Files:
      Tag: release24-maint
	test_email.py 
Log Message:
fix broken (unexecuted) test

Index: test_email.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/test/test_email.py,v
retrieving revision 1.67.2.1
retrieving revision 1.67.2.2
diff -u -d -r1.67.2.1 -r1.67.2.2
--- test_email.py	5 Dec 2004 03:34:14 -0000	1.67.2.1
+++ test_email.py	8 Jun 2005 04:56:41 -0000	1.67.2.2
@@ -892,9 +892,9 @@
         payload = self._au.get_payload()
         self.assertEqual(base64.decodestring(payload), self._audiodata)
 
-    def checkSetMinor(self):
+    def test_checkSetMinor(self):
         au = MIMEAudio(self._audiodata, 'fish')
-        self.assertEqual(im.get_type(), 'audio/fish')
+        self.assertEqual(au.get_type(), 'audio/fish')
 
     def test_add_header(self):
         eq = self.assertEqual
@@ -935,7 +935,7 @@
         payload = self._im.get_payload()
         self.assertEqual(base64.decodestring(payload), self._imgdata)
 
-    def checkSetMinor(self):
+    def test_checkSetMinor(self):
         im = MIMEImage(self._imgdata, 'fish')
         self.assertEqual(im.get_type(), 'image/fish')
 



More information about the Python-checkins mailing list