Example #1
0
def dropdb():
    """ drops all database tables """
    with app.test_request_context():
        db.drop_all()
Example #2
0
File: tests.py Project: miged/noter
 def tearDown(self):
     db.session.remove()
     db.drop_all()