Example #1
0
 def tearDown(self):
     dbmodels.destroy_tables()
     dbmodels.db.session.remove()
Example #2
0
 def tearDown(self):
     #        with app.app_context():
     dbmodels.destroy_tables()
     dbmodels.db.session.remove()