(self, src, dest)
| 121 | shutil.copy(src_path, os.path.join(conf_dest_dir, name)) |
| 122 | |
| 123 | def _make_template(self, src, dest): |
| 124 | var_map = dict() |
| 125 | for name, value in HttpdTestEnv.__dict__.items(): |
| 126 | if isinstance(value, property): |
| 127 | var_map[name] = value.fget(self.env) |
| 128 | t = Template(''.join(open(src).readlines())) |
| 129 | with open(dest, 'w') as fd: |
| 130 | fd.write(t.substitute(var_map)) |
| 131 | |
| 132 | def _make_modules_conf(self): |
| 133 | loaded = set() |
no test coverage detected