(self)
| 556 | msg.del_param('filename', 'content-disposition') |
| 557 | |
| 558 | def test_del_nonexistent_param(self): |
| 559 | msg = Message() |
| 560 | msg.add_header('Content-Type', 'text/plain', charset='utf-8') |
| 561 | existing_header = msg['Content-Type'] |
| 562 | msg.del_param('foobar', header='Content-Type') |
| 563 | self.assertEqual(msg['Content-Type'], existing_header) |
| 564 | |
| 565 | def test_set_type(self): |
| 566 | eq = self.assertEqual |
nothing calls this directly
no test coverage detected