Esempio n. 1
0
    def register_routes(self):
        Route.set_controller_locations(
            self.application.make("controllers.location"))

        self.application.bind("routes.location", "tests/integrations/web")
        self.application.make("router").add(
            Route.group(
                load(self.application.make("routes.location"), "ROUTES", []),
                middleware=["web"],
            ))
Esempio n. 2
0
 def setUp(self):
     Route.set_controller_locations("tests.integrations.controllers")
     pass