()
| 43 | |
| 44 | |
| 45 | def test_cookies_with_domain_and_path(): |
| 46 | cookies = httpx.Cookies() |
| 47 | cookies.set("name", "value", domain="example.com", path="/subpath/1") |
| 48 | cookies.set("name", "value", domain="example.com", path="/subpath/2") |
| 49 | cookies.clear(domain="example.com", path="/subpath/1") |
| 50 | assert len(cookies) == 1 |
| 51 | cookies.delete("name", domain="example.com", path="/subpath/2") |
| 52 | assert len(cookies) == 0 |
| 53 | |
| 54 | |
| 55 | def test_multiple_set_cookie(): |