def tearDown(self): for server in self._servers: if server.is_running(): server.terminate() CloseStandardStreams(self._popen_handle) for logfile in self._logfiles: RemoveIfExists(logfile)
def tearDown( self ): if self.server.is_running(): self.server.terminate() if self._stdout: RemoveIfExists( self._stdout ) if self.subservers: for subserver in self.subservers: if subserver.is_running(): subserver.terminate()
def tearDown( self ): for server in self._servers: if server.is_running(): server.terminate() for logfile in self._logfiles: RemoveIfExists( logfile )