diff options
Diffstat (limited to 'macaroonbakery/tests/test_client.py')
-rw-r--r-- | macaroonbakery/tests/test_client.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/macaroonbakery/tests/test_client.py b/macaroonbakery/tests/test_client.py index 04e2f2b..baafeed 100644 --- a/macaroonbakery/tests/test_client.py +++ b/macaroonbakery/tests/test_client.py @@ -353,6 +353,11 @@ class TestClient(TestCase): value=encode_macaroon(m2), url='http://example.com', )) + jar.set_cookie(utils.cookie( + name='macaroon-empty', + value='', + url='http://example.com', + )) jar.add_cookie_header(req) macaroons = httpbakery.extract_macaroons(req) |