Searched refs:template_path (Results 1 – 7 of 7) sorted by relevance
12 def _GetPolicyTemplates(template_path): argument17 with open(template_path) as f:107 template_path = os_path.join(local_path, 'policy_templates.json')109 if any(f.AbsoluteLocalPath() == template_path for f in affected_files):111 policies = _GetPolicyTemplates(template_path)
17 def GeneratePage(self, template_path): argument18 with open(template_path) as template_file:
27 (template_path, template_name) = os.path.split(input_file)28 env = jinja2.Environment(loader=jinja2.FileSystemLoader(template_path),
65 def validateTemplate(self, template_path): argument66 template = os.path.basename(template_path)
70 (template_path, template_name) = os.path.split(input_file)71 env = jinja2.Environment(loader=jinja2.FileSystemLoader(template_path))
691 (template_path, template_name) = os.path.split(source)692 env = Environment(loader=FileSystemLoader(template_path),
254 … template_path = filesystem.join(self._port.perf_tests_dir(), 'resources/results-template.html')255 template = filesystem.read_text_file(template_path)