Lines Matching refs:fd
146 with open(self._error_log, 'a') as fd:
147 fd.write('start of server\n')
148 with open(os.path.join(self._apache_dir, 'xxx'), 'a') as fd:
149 fd.write('start of server\n')
217 with open(os.path.join(self._docs_dir, 'data.json'), 'w') as fd:
221 fd.write(JSONEncoder().encode(data))
222 with open(os.path.join(self._docs_dir, 'two/data.json'), 'w') as fd:
226 fd.write(JSONEncoder().encode(data))
228 with open(self._basic_passwords, 'w') as fd:
229 fd.write('proxy:$apr1$FQfeInbs$WQZbODJlVg60j0ogEIlTW/\n')
231 with open(self._digest_passwords, 'w') as fd:
232 fd.write('test:restricted area:57123e269fd73d71ae0656594e938e2f\n')
234 with open(os.path.join(self.docs_dir, 'restricted/digest/data.json'), 'w') as fd:
235 fd.write('{"area":"digest"}\n')
236 with open(self._conf_file, 'w') as fd:
239 fd.write(f'LoadModule {m}_module "{self._mods_dir}/mod_{m}.so"\n')
241 fd.write(f'LoadModule curltest_module \"{Httpd.MOD_CURLTEST}\"\n')
364 fd.write("\n".join(conf))
365 with open(os.path.join(self._conf_dir, 'mime.types'), 'w') as fd:
366 fd.write("\n".join([