()
| 47 | |
| 48 | |
| 49 | def start_test_server(): |
| 50 | pywebio.enable_debug() |
| 51 | |
| 52 | app = web.Application() |
| 53 | app.add_routes([web.get('/io', webio_handler(target, cdn=False))]) |
| 54 | app.add_routes([web.get('/io2', webio_handler(async_target, cdn=False))]) |
| 55 | app.add_routes(static_routes()) |
| 56 | |
| 57 | web.run_app(app, host='127.0.0.1', port=8080) |
| 58 | |
| 59 | |
| 60 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected
searching dependent graphs…