summaryrefslogtreecommitdiffstats
path: root/ipatests/test_ipapython/test_cookie.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_ipapython/test_cookie.py')
-rw-r--r--ipatests/test_ipapython/test_cookie.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_ipapython/test_cookie.py b/ipatests/test_ipapython/test_cookie.py
index 6af447984..57233b7b0 100644
--- a/ipatests/test_ipapython/test_cookie.py
+++ b/ipatests/test_ipapython/test_cookie.py
@@ -279,7 +279,7 @@ class TestInvalidAttributes(unittest.TestCase):
# Invalid Max-Age
s = 'color=blue; Max-Age=over-the-hill'
with self.assertRaises(ValueError):
- cookies = Cookie.parse(s)
+ Cookie.parse(s)
cookie = Cookie('color', 'blue')
with self.assertRaises(ValueError):
@@ -288,7 +288,7 @@ class TestInvalidAttributes(unittest.TestCase):
# Invalid Expires
s = 'color=blue; Expires=Sun, 06 Xxx 1994 08:49:37 GMT'
with self.assertRaises(ValueError):
- cookies = Cookie.parse(s)
+ Cookie.parse(s)
cookie = Cookie('color', 'blue')
with self.assertRaises(ValueError):