Home
last modified time | relevance | path

Searched refs:split_template_path (Results 1 – 3 of 3) sorted by relevance

/external/python/jinja/tests/
Dtest_loader.py18 from jinja2.loaders import split_template_path
115 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)))
/external/libchrome/third_party/jinja2/
Dloaders.py22 def split_template_path(template): function
168 pieces = split_template_path(template)
232 pieces = split_template_path(template)
/external/python/jinja/src/jinja2/
Dloaders.py19 def split_template_path(template): function
175 pieces = split_template_path(template)
288 p = os.path.join(self._template_root, *split_template_path(template))