Lines Matching refs:os
28 import os
47 self.path = os.path.join(env.build_dir, f'tests/http/clients/{name}')
51 self._curl = os.environ['CURL'] if 'CURL' in os.environ else env.curl
52 self._run_dir = run_dir if run_dir else os.path.join(env.gen_dir, name)
67 return os.path.exists(self.path)
70 return os.path.join(self._run_dir, f'download_{i}.data')
73 if os.path.exists(path):
74 return os.remove(path)
77 if os.path.exists(path):
81 if not os.path.exists(path):
82 return os.makedirs(path)
95 if key in os.environ and key not in run_env:
96 run_env[key] = os.environ[key]