From b799e3ced5422fac7ca109e29c4fd32e08157dcf Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Tue, 12 Apr 2016 19:37:02 -0600 Subject: Explicit set Accept header to text/html The default is now text/plain, so explicitly set the accept header for what we want to accept. --- pyramid/tests/test_httpexceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyramid/tests/test_httpexceptions.py b/pyramid/tests/test_httpexceptions.py index b94ef30e4..47d138d7b 100644 --- a/pyramid/tests/test_httpexceptions.py +++ b/pyramid/tests/test_httpexceptions.py @@ -230,11 +230,11 @@ class TestHTTPException(unittest.TestCase): body = list(exc(environ, start_response))[0] self.assertFalse(b'' in body) -- cgit v1.2.3