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

Method test_get_param_liberal

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

Source from the content-addressed store, hash-verified

439
440 # test_headerregistry.TestContentTypeHeader.spaces_around_param_equals
441 def test_get_param_liberal(self):
442 msg = Message()
443 msg['Content-Type'] = 'Content-Type: Multipart/mixed; boundary = "CPIMSSMTPC06p5f3tG"'
444 self.assertEqual(msg.get_param('boundary'), 'CPIMSSMTPC06p5f3tG')
445
446 def test_get_param(self):
447 eq = self.assertEqual

Callers

nothing calls this directly

Calls 3

get_paramMethod · 0.95
MessageClass · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected