Beispiel #1
0
 def setUp(self):
     self.app = config_app("test")
     self.db = db
     self.client = self.app.test_client()
     self.db.create_all(app=self.app)
Beispiel #2
0
from gazetteer.app import config_app

if __name__ == "__main__":
    app = config_app("production")
    app.run(debug=True)