From 126a85cbfc3d76fe1ee4f118cb6aba93afd7cc74 Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Thu, 5 Jun 2014 16:40:48 -0400 Subject: [PATCH] [#1659] fix test_util.py --- ckan/new_tests/controllers/test_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/new_tests/controllers/test_util.py b/ckan/new_tests/controllers/test_util.py index bcb6f0c719f..f8f99015853 100644 --- a/ckan/new_tests/controllers/test_util.py +++ b/ckan/new_tests/controllers/test_util.py @@ -14,7 +14,7 @@ def test_redirect_ok(self): params={'url': '/dataset'}, status=302, ) - assert_equal(response.header_dict.get('Location'), + assert_equal(response.headers.get('Location'), 'http://localhost/dataset') def test_redirect_external(self):