()
| 31 | |
| 32 | |
| 33 | def test_cookies_with_domain(): |
| 34 | cookies = httpx.Cookies() |
| 35 | cookies.set(class="st">"name", class="st">"value", domain=class="st">"example.com") |
| 36 | cookies.set(class="st">"name", class="st">"value", domain=class="st">"example.org") |
| 37 | |
| 38 | with pytest.raises(httpx.CookieConflict): |
| 39 | cookies[class="st">"name"] |
| 40 | |
| 41 | cookies.clear(domain=class="st">"example.com") |
| 42 | assert len(cookies) == 1 |
| 43 | |
| 44 | |
| 45 | def test_cookies_with_domain_and_path(): |