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