def tearDown(self): http.closeSession() d = self.listener.stopListening() d.addBoth(lambda x: self.tearDownBuildStep()) return d
def tearDown(self): http.closeSession() try: yield self.listener.stopListening() finally: yield self.tearDownBuildStep()
def tearDown(self): http.closeSession() try: yield self.listener.stopListening() finally: yield self.tear_down_test_build_step()