(loop)
| 5 | |
| 6 | |
| 7 | def test_repr(loop): |
| 8 | app = web.Application(loop=loop) |
| 9 | manager = app.make_handler() |
| 10 | handler = manager() |
| 11 | |
| 12 | assert '<RequestHandler none:none disconnected>' == repr(handler) |
| 13 | |
| 14 | handler.transport = object() |
| 15 | handler._meth = 'GET' |
| 16 | handler._path = '/index.html' |
| 17 | assert '<RequestHandler GET:/index.html connected>' == repr(handler) |
| 18 | |
| 19 | |
| 20 | def test_connections(loop): |
nothing calls this directly
no test coverage detected