in pytest_rally/rally.py [0:0]
def install_config_file(self):
self.logger.info("Writing Rally config to [%s]", self.config_location)
with open(self.config_location, "wt", encoding="utf-8") as target:
with open(self.config_template, "rt", encoding="utf-8") as src:
contents = src.read()
target.write(Template(contents).substitute(CONFIG_DIR=self.config_dir, TRACK_REPO=self.track_repository))