Exemple #1
0
def drop_db():
    """
    Drops a database with all of the tables defined in
    your Alchemy models
    """
    db.drop_all()
Exemple #2
0
 def tearDown(self):
     db.session.remove()
     db.drop_all()
Exemple #3
0
 def tearDown(self):
     db.session.remove()
     db.drop_all()
Exemple #4
0
def drop_db():
    """
    Drops a database with all of the tables defined in
    your Alchemy models
    """
    db.drop_all()