Commit 422b10fc authored by Anthony Baxter's avatar Anthony Baxter

fix broken (unexecuted) test

parent 95a2a4ea
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment