mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Assert that both cookies were added in test. Refs #3028.
This commit is contained in:
@@ -764,6 +764,8 @@ class TestRequests:
|
||||
jar.set(key, value, domain=domain1)
|
||||
jar.set(key, value, domain=domain2)
|
||||
assert key in jar
|
||||
items = jar.items()
|
||||
assert len(items) == 2
|
||||
|
||||
def test_cookie_duplicte_names_raises_cookie_conflict_error(self):
|
||||
key = 'some_cookie'
|
||||
|
||||
Reference in New Issue
Block a user