Ejemplo n.º 1
0
 def tearDown(self):
     """ Test teardown """
     testmode=False
     if testmode == False:
         session.close()
         # Remove the tables and their data from the database
         Base.metadata.drop_all(engine)
Ejemplo n.º 2
0
 def tearDown(self):
     """ Test teardown """
     session.close()
     # Remove the tables and their data from the database
     Base.metadata.drop_all(engine)
Ejemplo n.º 3
0
 def tearDown(self):
     # """ Test teardown """
     session.close()
     # Remove the tables and their data from the database
     Base.metadata.drop_all(engine)
 def tearDown(self):
     """ Test teardown """
     session.close()
     Base.metadata.drop_all(engine)