Example #1
0
 def setUp(self):
     self.app = create_app("testing")
     self.client = self.app.test_client()
     self._ctx = self.app.test_request_context()
     self._ctx.push()
     db.create_all()
Example #2
0
 def setUp(self):
     self.app = create_app("testing")
     self.client = self.app.test_client()
     self._ctx = self.app.test_request_context()
     self._ctx.push()
     db.create_all()
Example #3
0
def init_db():
    db.create_all()
Example #4
0
def init_db():
    db.create_all()