Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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()
Ejemplo n.º 3
0
 def tearDown( self ):
   for server in self._servers:
     if server.is_running():
       server.terminate()
   for logfile in self._logfiles:
     RemoveIfExists( logfile )