diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2005-06-08 04:56:41 (GMT) |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2005-06-08 04:56:41 (GMT) |
commit | 53ff4de223bdb1d719d3981dacaf6c878b380ddc (patch) | |
tree | 5916a79db82b9aefbe7892522aac5f3548e62d35 /Lib/email | |
parent | f16afd2f6cd7d7fe46fe6f9f3673d88b65b9535d (diff) | |
download | cpython-53ff4de223bdb1d719d3981dacaf6c878b380ddc.zip cpython-53ff4de223bdb1d719d3981dacaf6c878b380ddc.tar.gz cpython-53ff4de223bdb1d719d3981dacaf6c878b380ddc.tar.bz2 |
fix broken (unexecuted) test
Diffstat (limited to 'Lib/email')
-rw-r--r-- | Lib/email/test/test_email.py | 6 |
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') |