'Test if not allowed header present in request.'

def test_unsupported_http_accept_header(self):

    response = self.client.get(self._url(), HTTP_ACCEPT='text/plain')
    self.assertEqual(response.status_code, 406)
