def tearDownClass(cls): cls.cursor.close() cls.connection.rollback() helper.teardown_connection(cls.connection)
def tearDown(self): self.cursor.close() self.connection.rollback() helper.teardown_connection(self.connection)