Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95a2a4e commit 422b10fCopy full SHA for 422b10f
1 file changed
Lib/email/test/test_email.py
@@ -892,9 +892,9 @@ def test_encoding(self):
892
payload = self._au.get_payload()
893
self.assertEqual(base64.decodestring(payload), self._audiodata)
894
895
- def checkSetMinor(self):
+ def test_checkSetMinor(self):
896
au = MIMEAudio(self._audiodata, 'fish')
897
- self.assertEqual(im.get_type(), 'audio/fish')
+ self.assertEqual(au.get_type(), 'audio/fish')
898
899
def test_add_header(self):
900
eq = self.assertEqual
@@ -935,7 +935,7 @@ def test_encoding(self):
935
payload = self._im.get_payload()
936
self.assertEqual(base64.decodestring(payload), self._imgdata)
937
938
939
im = MIMEImage(self._imgdata, 'fish')
940
self.assertEqual(im.get_type(), 'image/fish')
941
0 commit comments