(self)
| 651 | self.assertIsNone(cookie.value) |
| 652 | |
| 653 | def test_ns_parser_special_names(self): |
| 654 | # names such as 'expires' are not special in first name=value pair |
| 655 | # of Set-Cookie: header |
| 656 | c = CookieJar() |
| 657 | interact_netscape(c, "http://www.acme.com/", 'expires=eggs') |
| 658 | interact_netscape(c, "http://www.acme.com/", 'version=eggs; spam=eggs') |
| 659 | |
| 660 | cookies = c._cookies["www.acme.com"]["/"] |
| 661 | self.assertIn('expires', cookies) |
| 662 | self.assertIn('version', cookies) |
| 663 | |
| 664 | def test_expires(self): |
| 665 | # if expires is in future, keep cookie... |
nothing calls this directly
no test coverage detected