예제 #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
파일: api_tests.py 프로젝트: verben-a/posts
 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)