Beispiel #1
0
  def create_app(self):
    config = TestConfig()
    config.NO_LOGIN = self.no_login
    self.app = create_app(config)

    for rule in self.app.url_map.iter_rules():
      print rule

    return self.app
Beispiel #2
0
    def create_app(self):
        config = TestConfig()
        config.NO_LOGIN = self.no_login
        self.app = create_app(config)

        for rule in self.app.url_map.iter_rules():
            print rule

        return self.app
Beispiel #3
0
  def create_app(self):
    config = TestConfig()
    config.NO_LOGIN = self.no_login
    self.app = create_app(config)

    return self.app
Beispiel #4
0
# Run as a WSGI app

from website.application import create_app

app = create_app()