We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
httpbingo.org
1 parent a73f2fe commit dd7f81bCopy full SHA for dd7f81b
tests/test_urihandler.py
@@ -359,7 +359,7 @@ def test_set_cookie(self):
359
360
# verify the values from the json data
361
data = json.loads(data)
362
- cookie_value_retrieved = data[cookie_name]
+ cookie_value_retrieved = data.get("cookies", {}).get(cookie_name)
363
self.assertEqual(cookie_value, cookie_value_retrieved)
364
365
def test_set_cookie_with_cache(self):
@@ -420,7 +420,7 @@ def test_set_cookie_file(self):
420
421
422
423
424
425
426
def test_cookie_persist(self):
0 commit comments