summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2005-06-08 04:55:50 (GMT)
committerAnthony Baxter <anthonybaxter@gmail.com>2005-06-08 04:55:50 (GMT)
commit422b10fc259f2f36afbaa2a00b51011d88fbfee3 (patch)
tree431508839e94bc338d63a2de6351963a5e3a06e4
parent95a2a4ea701e0bc7b2afb778b1f0c1e4b4d89624 (diff)
downloadcpython-422b10fc259f2f36afbaa2a00b51011d88fbfee3.zip
cpython-422b10fc259f2f36afbaa2a00b51011d88fbfee3.tar.gz
cpython-422b10fc259f2f36afbaa2a00b51011d88fbfee3.tar.bz2
fix broken (unexecuted) test
-rw-r--r--Lib/email/test/test_email.py6
1 files 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')