def test_get_module_routes(self):
        assert sorted(routes.get_module_routes(
            "cars.api")) == 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),
        ])
Tests routes.get_module_routes
dataset/ETHPy150Open hfaran/Tornado-JSON/tests/test_tornado_json.py/TestRoutes.test_get_module_routes