@gen.engine
def generate_traffic():
    client = AsyncHTTPClient()
    while True:
        resp = yield gen.Task(client.fetch,
                              options.port % 'http://localhost:%d/')
        assert resp.body.strip().decode("utf-8") == 'Hello world!'
dataset/ETHPy150Open bdarnell/plop/demo/busy_server.py/generate_traffic/swapped operands of `%`