summaryrefslogtreecommitdiff
path: root/macaroonbakery/tests/test_client.py
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-02-28 17:08:17 +0000
committerColin Watson <cjwatson@debian.org>2018-02-28 17:09:32 +0000
commit6afbd6cfb2ceae0444b1ad15f143117315c0b8e2 (patch)
tree294ffe7ca0d12231dfff2a3d8dd7011aaf824cbc /macaroonbakery/tests/test_client.py
parentfa31bef2ea6d7c2207dec570119291fa83e6675d (diff)
parentd918563db4de954c3df719d06a31bdd3aec3a8fc (diff)
New upstream release (1.1.3)
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 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)