mirror of https://github.com/python/cpython
fix broken (unexecuted) test
This commit is contained in:
parent
95a2a4ea70
commit
422b10fc25
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue