예제 #1
0
 def setUp(self):
     """Create the testing database, then swap commit for flush"""
     db.create_all()
     self.orig_commit = db.session.commit
     db.session.commit = db.session.flush
예제 #2
0
 def setUp(self):
     db.create_all()
예제 #3
0
 def setUp(self):
     db.create_all()