From 422b10fc259f2f36afbaa2a00b51011d88fbfee3 Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Wed, 8 Jun 2005 04:55:50 +0000 Subject: fix broken (unexecuted) test --- Lib/email/test/test_email.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py index b3a46e6..2f184fd 100644 --- a/Lib/email/test/test_email.py +++ b/Lib/email/test/test_email.py @@ -892,9 +892,9 @@ class TestMIMEAudio(unittest.TestCase): 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 @@ class TestMIMEImage(unittest.TestCase): 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') -- cgit v0.12