def tearDown(self): DBSession.remove() testing.tearDown() try: os.remove('test_utils.db') except: print("file not found: test_utils.db") pass
def tearDown(self): # maybe I need to check and remove globals here, # so the other tests are not compromised #del engine # from c3smembership.models import DBSession # DBSession.close() # DBSession.remove() DBSession.remove() testing.tearDown()
def tearDown(self): DBSession.remove() testing.tearDown()
def tearDown(self): DBSession.remove() testing.tearDown() os.remove('tests.db')