Searched refs:split_template_path (Results 1 – 3 of 3) sorted by relevance
18 from jinja2.loaders import split_template_path115 assert split_template_path("foo/bar") == ["foo", "bar"]116 assert split_template_path("./foo/bar") == ["foo", "bar"]117 pytest.raises(TemplateNotFound, split_template_path, "../foo")318 assert name.endswith(os.path.join(*split_template_path(template)))342 assert name.endswith(os.path.join(*split_template_path(template)))
22 def split_template_path(template): function168 pieces = split_template_path(template)232 pieces = split_template_path(template)
19 def split_template_path(template): function175 pieces = split_template_path(template)288 p = os.path.join(self._template_root, *split_template_path(template))