MCPcopy Index your code
hub / github.com/python/cpython / test_checkSetMinor

Method test_checkSetMinor

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

Source from the content-addressed store, hash-verified

1630 self._audiodata)
1631
1632 def test_checkSetMinor(self):
1633 self._make_audio('au')
1634 au = MIMEAudio(self._audiodata, 'fish')
1635 self.assertEqual(au.get_content_type(), 'audio/fish')
1636
1637 def test_add_header(self):
1638 self._make_audio('au')

Callers

nothing calls this directly

Calls 4

_make_audioMethod · 0.95
MIMEAudioClass · 0.90
get_content_typeMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected