示例#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)
示例#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)
示例#3
0
def stop_servers():
    for proc in _PROCS:
        stop_process(proc)
    _PROCS[:] = []
示例#4
0
def stop_servers():
    for proc in _PROCS:
        stop_process(proc)
    _PROCS[:] = []