Beispiel #1
0
 def tearDown(self):
     db.session.remove()
     db.drop_all()
Beispiel #2
0
Datei: manager.py Projekt: akn/pi
def resetdb():
    """Drops and creates the database."""
    db.drop_all()
    db.create_all()