Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/aiohttp
/ MyView
Class
MyView
tests/test_classbasedview.py:18–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
resp = web.Response(text=
"OK"
)
17
18
class
MyView(View):
19
async
def
get(self):
20
return
resp
21
22
request = mock.Mock()
23
request.method =
"GET"
Callers
3
test_render_ok
Function · 0.70
test_render_unknown_method
Function · 0.70
test_render_unsupported_method
Function · 0.70
Calls
no outgoing calls
Tested by
3
test_render_ok
Function · 0.56
test_render_unknown_method
Function · 0.56
test_render_unsupported_method
Function · 0.56