MCPcopy
hub / github.com/pallets/flask / test_templates_list

Function test_templates_list

tests/test_blueprints.py:247–251  ·  view source on GitHub ↗
(test_apps)

Source from the content-addressed store, hash-verified

245
246
247def test_templates_list(test_apps):
248 from blueprintapp import app
249
250 templates = sorted(app.jinja_env.list_templates())
251 assert templates == ["admin/index.html", "frontend/index.html"]
252
253
254def test_dotted_name_not_allowed(app, client):

Callers

nothing calls this directly

Calls 1

list_templatesMethod · 0.80

Tested by

no test coverage detected