Example #1
0
 def setUp(self):
     self.flask_app = flask_app
     self.app = flask_app.test_client()
     with self.flask_app.app_context():
         rebuild_db()
Example #2
0
 def setUp(self):
     self.flask_app = create_app()
     self.app = self.flask_app.test_client()
     self.db = db
     with self.flask_app.app_context():
         model.rebuild_db()
Example #3
0
 def setUp(self):
     super(HelperAPI, self).setUp()
     rebuild_db()
     self.create()
Example #4
0
 def setUp(self):
     self.flask_app = flask_app
     self.app = flask_app.test_client()
     with self.flask_app.app_context():
         rebuild_db()
Example #5
0
 def setUp(self):
     self.flask_app = create_app()
     self.app = self.flask_app.test_client()
     self.db = db
     with self.flask_app.app_context():
         model.rebuild_db()
Example #6
0
 def setUp(self):
     super(HelperAPI, self).setUp()
     rebuild_db()
     self.create()