Пример #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)
Пример #2
0
 def tearDown(self):
     """ Test teardown """
     session.close()
     # Remove the tables and their data from the database
     Base.metadata.drop_all(engine)
Пример #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)