MCPcopy Index your code
hub / github.com/encode/django-rest-framework / view

Method view

tests/test_decorators.py:36–37  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

34
35 @api_view
36 def view(request):
37 return Response()
38
39 request = self.factory.get('/')
40 self.assertRaises(AssertionError, view, request)

Callers 15

test_action_kwargsMethod · 0.45
test_get_root_viewMethod · 0.45
test_head_root_viewMethod · 0.45
test_post_root_viewMethod · 0.45
test_put_root_viewMethod · 0.45
test_delete_root_viewMethod · 0.45

Calls 1

ResponseClass · 0.90

Tested by

no test coverage detected