summaryrefslogtreecommitdiff
path: root/macaroonbakery/tests/test_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'macaroonbakery/tests/test_client.py')
-rw-r--r--macaroonbakery/tests/test_client.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/macaroonbakery/tests/test_client.py b/macaroonbakery/tests/test_client.py
index ab20c3b..bfc7807 100644
--- a/macaroonbakery/tests/test_client.py
+++ b/macaroonbakery/tests/test_client.py
@@ -346,6 +346,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)