def tearDown(self):
     """
     setUp and tearDown are run at the start of each test; ensure
     that a fresh database is used for each test.
     """
     db.session.remove()
     db.drop_all()
Exemplo n.º 2
0
 def tearDown(self):
     """
     setUp and tearDown are run at the start of each test; ensure
     that a fresh database is used for each test.
     """
     db.session.remove()
     db.drop_all()
Exemplo n.º 3
0
 def tearDown(self):
     db.session.remove()
     db.drop_all()
Exemplo n.º 4
0
 def tearDown(self):
     db.session.remove()
     db.drop_all()