(self)
| 759 | self.assertIn("/blah/rhubarb", c._cookies["www.acme.com"]) |
| 760 | |
| 761 | def test_default_path_with_query(self): |
| 762 | cj = CookieJar() |
| 763 | uri = "http://example.com/?spam/eggs" |
| 764 | value = 'eggs="bar"' |
| 765 | interact_netscape(cj, uri, value) |
| 766 | # Default path does not include query, so is "/", not "/?spam". |
| 767 | self.assertIn("/", cj._cookies["example.com"]) |
| 768 | # Cookie is sent back to the same URI. |
| 769 | self.assertEqual(interact_netscape(cj, uri), value) |
| 770 | |
| 771 | @support.subTests('arg,result', [ |
| 772 | # quoted safe |
nothing calls this directly
no test coverage detected