MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_checkSetMinor

Method test_checkSetMinor

Lib/test/test_email/test_email.py:1671–1674  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1669 self._imgdata)
1670
1671 def test_checkSetMinor(self):
1672 self._make_image('gif')
1673 im = MIMEImage(self._imgdata, 'fish')
1674 self.assertEqual(im.get_content_type(), 'image/fish')
1675
1676 def test_add_header(self):
1677 self._make_image('gif')

Callers

nothing calls this directly

Calls 4

_make_imageMethod · 0.95
MIMEImageClass · 0.90
get_content_typeMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected