Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
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_kwargs
Method · 0.45
test_get_root_view
Method · 0.45
test_head_root_view
Method · 0.45
test_post_root_view
Method · 0.45
test_put_root_view
Method · 0.45
test_delete_root_view
Method · 0.45
test_post_cannot_set_id
Method · 0.45
test_post_error_root_view
Method · 0.45
test_get_instance_view
Method · 0.45
test_post_instance_view
Method · 0.45
test_put_instance_view
Method · 0.45
test_patch_instance_view
Method · 0.45
Calls
1
Response
Class · 0.90
Tested by
no test coverage detected