MCPcopy
hub / github.com/psf/requests / test_cookie_as_dict_values

Method test_cookie_as_dict_values

tests/test_requests.py:1345–1359  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1343 assert list(keys) == list(keys)
1344
1345 def test_cookie_as_dict_values(self):
1346 key = "some_cookie"
1347 value = "some_value"
1348
1349 key1 = "some_cookie1"
1350 value1 = "some_value1"
1351
1352 jar = requests.cookies.RequestsCookieJar()
1353 jar.set(key, value)
1354 jar.set(key1, value1)
1355
1356 values = jar.values()
1357 assert values == list(values)
1358 # make sure one can use values multiple times
1359 assert list(values) == list(values)
1360
1361 def test_cookie_as_dict_items(self):
1362 key = "some_cookie"

Callers

nothing calls this directly

Calls 2

setMethod · 0.95
valuesMethod · 0.95

Tested by

no test coverage detected