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)
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)
def stop_servers(): for proc in _PROCS: stop_process(proc) _PROCS[:] = []
def stop_servers(): for proc in _PROCS: stop_process(proc) _PROCS[:] = []