summaryrefslogtreecommitdiff
path: root/tests/test_auth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_auth')
-rw-r--r--tests/test_auth/test_auth_cookie.py7
-rw-r--r--tests/test_auth/test_auth_digest.py1
2 files changed, 0 insertions, 8 deletions
diff --git a/tests/test_auth/test_auth_cookie.py b/tests/test_auth/test_auth_cookie.py
index 67465f4..38e37b8 100644
--- a/tests/test_auth/test_auth_cookie.py
+++ b/tests/test_auth/test_auth_cookie.py
@@ -2,14 +2,7 @@
# This module is part of the Python Paste Project and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
-import os
from six.moves import xrange
-try:
- # Python 3
- from http.cookies import SimpleCookie
-except ImportError:
- # Python 2
- from Cookie import SimpleCookie
import six
from paste.auth import cookie
diff --git a/tests/test_auth/test_auth_digest.py b/tests/test_auth/test_auth_digest.py
index 5657782..1d44038 100644
--- a/tests/test_auth/test_auth_digest.py
+++ b/tests/test_auth/test_auth_digest.py
@@ -4,7 +4,6 @@
from paste.auth.digest import *
from paste.wsgilib import raw_interactive
-from paste.response import header_value
from paste.httpexceptions import *
from paste.httpheaders import AUTHORIZATION, WWW_AUTHENTICATE, REMOTE_USER
import os