예제 #1
0
 def tearDown(self):
     """Clean up session, sway flush for commit, drop the testing database"""
     db.session.remove()
     db.session.commit = self.orig_commit
     db.drop_all()
예제 #2
0
 def tearDown(self):
     db.session.remove()
     db.drop_all()
예제 #3
0
 def tearDown(self):
     db.session.remove()
     db.drop_all()