summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests/test_authentication.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/tests/test_authentication.py')
-rw-r--r--repoze/bfg/tests/test_authentication.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/repoze/bfg/tests/test_authentication.py b/repoze/bfg/tests/test_authentication.py
index 6546fd672..7b20e647c 100644
--- a/repoze/bfg/tests/test_authentication.py
+++ b/repoze/bfg/tests/test_authentication.py
@@ -420,8 +420,7 @@ class TestAuthTktCookieHelper(unittest.TestCase):
request = self._makeRequest({'HTTP_COOKIE':'auth_tkt=bogus'})
result = plugin.identify(request)
self.failUnless(result)
- attrs = request.environ['webob.adhoc_attrs']
- response_headers = attrs['global_response_headers']
+ response_headers = request.global_response_headers
self.assertEqual(len(response_headers), 3)
self.assertEqual(response_headers[0][0], 'Set-Cookie')