MCPcopy
hub / github.com/aio-libs/aiohttp / go

Method go

tests/test_web_functional.py:74–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72
73 @asyncio.coroutine
74 def go():
75 _, srv, url = yield from self.create_server('GET', '/', handler)
76 resp = yield from request('GET', url, loop=self.loop)
77 self.assertEqual(200, resp.status)
78 txt = yield from resp.text()
79 self.assertEqual('OK', txt)
80
81 self.loop.run_until_complete(go())
82

Callers

nothing calls this directly

Calls 14

add_fieldMethod · 0.95
getMethod · 0.95
closeMethod · 0.95
requestFunction · 0.90
FormDataClass · 0.90
ClientSessionClass · 0.90
create_serverMethod · 0.45
textMethod · 0.45
closeMethod · 0.45
jsonMethod · 0.45
add_routeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected