diff options
| author | Martin Basti <mbasti@redhat.com> | 2016-09-26 18:22:22 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-09-27 13:35:58 +0200 |
| commit | 9d83be3647547cfca4e129cfeb63771213232cf7 (patch) | |
| tree | 0899bfbc662355dd8d1318b5e6d4909c5aaa993c /ipatests/test_ipapython/test_cookie.py | |
| parent | 0f88f8fe889ae4801fc8d5ece1ad51c5246718ac (diff) | |
| download | freeipa-9d83be3647547cfca4e129cfeb63771213232cf7.tar.gz freeipa-9d83be3647547cfca4e129cfeb63771213232cf7.tar.xz freeipa-9d83be3647547cfca4e129cfeb63771213232cf7.zip | |
Remove unused variables in tests
This commit removes or marks unused variables as "expected to be unused"
by using '_' prefix.
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'ipatests/test_ipapython/test_cookie.py')
| -rw-r--r-- | ipatests/test_ipapython/test_cookie.py | 4 |
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): |
