(self)
| 5419 | """) |
| 5420 | |
| 5421 | def test_set_param_requote(self): |
| 5422 | msg = Message() |
| 5423 | msg.set_param('title', 'foo') |
| 5424 | self.assertEqual(msg['content-type'], 'text/plain; title="foo"') |
| 5425 | msg.set_param('title', 'bar', requote=False) |
| 5426 | self.assertEqual(msg['content-type'], 'text/plain; title=bar') |
| 5427 | # tspecial is still quoted. |
| 5428 | msg.set_param('title', "(bar)bell", requote=False) |
| 5429 | self.assertEqual(msg['content-type'], 'text/plain; title="(bar)bell"') |
| 5430 | |
| 5431 | def test_del_param(self): |
| 5432 | eq = self.ndiffAssertEqual |
nothing calls this directly
no test coverage detected