Skip to content
Myr

Assert that both cookies were added in test. Refs #3028.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Casey Davidson · committed by Casey Davidson · parent d8b36c1 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:tests/test_requests.py+2 added
762 unmodified lines
763 jar = requests.cookies.RequestsCookieJar()764 jar.set(key, value, domain=domain1)765 jar.set(key, value, domain=domain2)766 assert key in jar767 items = jar.items()768 assert len(items) == 2769770 def test_cookie_duplicte_names_raises_cookie_conflict_error(self):771 key = 'some_cookie'772 value = 'some_value'
706 unmodified lines