From b5b231a874c7d8d54b1d3849cb95337f15bac9c6 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 12 May 2011 15:11:14 +0100 Subject: yet more API cleanup --- djangorestframework/tests/accept.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'djangorestframework/tests/accept.py') diff --git a/djangorestframework/tests/accept.py b/djangorestframework/tests/accept.py index c5a3f69e..293a7284 100644 --- a/djangorestframework/tests/accept.py +++ b/djangorestframework/tests/accept.py @@ -40,9 +40,9 @@ class UserAgentMungingTest(TestCase): self.assertEqual(resp['Content-Type'], 'text/html') def test_dont_rewrite_msie_accept_header(self): - """Turn off REWRITE_IE_ACCEPT_HEADER, send MSIE user agent strings and ensure + """Turn off _IGNORE_IE_ACCEPT_HEADER, send MSIE user agent strings and ensure that we get a JSON response if we set a */* accept header.""" - view = self.MockView.as_view(REWRITE_IE_ACCEPT_HEADER=False) + view = self.MockView.as_view(_IGNORE_IE_ACCEPT_HEADER=False) for user_agent in (MSIE_9_USER_AGENT, MSIE_8_USER_AGENT, -- cgit v1.2.3