def test_get_routes(self):
        assert sorted(routes.get_routes(
            helloworld)) == sorted([
            ("/api/helloworld/?", helloworld.api.HelloWorldHandler),
            ("/api/asynchelloworld/(?P<name>[a-zA-Z0-9_\\-]+)/?$", helloworld.api.AsyncHelloWorld),
            ("/api/postit/?", helloworld.api.PostIt),
            ("/api/greeting/(?P<fname>[a-zA-Z0-9_\\-]+)/"
             "(?P<lname>[a-zA-Z0-9_\\-]+)/?$",
             helloworld.api.Greeting),
            ("/api/freewilled/?", helloworld.api.FreeWilledHandler)
        ])
        assert sorted(routes.get_routes(
            cars)) == sorted([
            ("/api/cars/?", cars.api.MakeListHandler),
            ("/api/cars/(?P<make>[a-zA-Z0-9_\\-]+)/(?P<model>[a-zA-Z0-9_\\-]+)/?$",
             cars.api.ModelHandler),
            ("/api/cars/(?P<make>[a-zA-Z0-9_\\-]+)/(?P<model>[a-zA-Z0-9_\\-]+)/"
             "(?P<year>[a-zA-Z0-9_\\-]+)/?$", cars.api.YearHandler),
            ("/api/cars/(?P<make>[a-zA-Z0-9_\\-]+)/?$", cars.api.MakeHandler),
        ])
Specify the LiveElement or LiveFragment class to serve.
dataset/ETHPy150Open hfaran/Tornado-JSON/tests/test_tornado_json.py/TestRoutes.test_get_routes--crossover with--dataset/ETHPy150Open twisted/nevow/nevow/_widget_plugin.py/Options.opt_element