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

Method test_checkSetMinor

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

Source from the content-addressed store, hash-verified

1608 self._audiodata)
1609
1610 def test_checkSetMinor(self):
1611 self._make_audio('au')
1612 au = MIMEAudio(self._audiodata, 'fish')
1613 self.assertEqual(au.get_content_type(), 'audio/fish')
1614
1615 def test_add_header(self):
1616 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