Exemplo n.º 1
0
 def tearDownClass(cls):
     for proc in cls.procs:
         stop_process(proc)
     os.chdir(cls.location)
     for dir in cls.dirs:
         shutil.rmtree(dir)
     if os.path.exists(_RESULTS):
         os.remove(_RESULTS)
Exemplo n.º 2
0
 def tearDownClass(cls):
     for proc in cls.procs:
         stop_process(proc)
     os.chdir(cls.location)
     for dir in cls.dirs:
         shutil.rmtree(dir)
     if os.path.exists(_RESULTS):
         os.remove(_RESULTS)
Exemplo n.º 3
0
def stop_servers():
    for proc in _PROCS:
        stop_process(proc)
    _PROCS[:] = []
Exemplo n.º 4
0
def stop_servers():
    for proc in _PROCS:
        stop_process(proc)
    _PROCS[:] = []