(self)
| 5490 | """) |
| 5491 | |
| 5492 | def test_set_param_requote(self): |
| 5493 | msg = Message() |
| 5494 | msg.set_param('title', 'foo') |
| 5495 | self.assertEqual(msg['content-type'], 'text/plain; title="foo"') |
| 5496 | msg.set_param('title', 'bar', requote=False) |
| 5497 | self.assertEqual(msg['content-type'], 'text/plain; title=bar') |
| 5498 | # tspecial is still quoted. |
| 5499 | msg.set_param('title', "(bar)bell", requote=False) |
| 5500 | self.assertEqual(msg['content-type'], 'text/plain; title="(bar)bell"') |
| 5501 | |
| 5502 | def test_del_param(self): |
| 5503 | eq = self.ndiffAssertEqual |
nothing calls this directly
no test coverage detected