'We check that DEFAULT_PERMISSION_CLASSES can
apply to APIRoot view. More specifically we check expected behavior of
``_ignore_model_permissions`` attribute support.'

def test_api_root_view_discard_default_django_model_permission(self):

    request = factory.get(u'/', format=u'json', HTTP_AUTHORIZATION=self.permitted_credentials)
    request.resolver_match = ResolverMatch(u'get', (), {})
    response = api_root_view(request)
    self.assertEqual(response.status_code, status.HTTP_200_OK)
