MCPcopy Create free account
hub / github.com/pallets/flask / test_index

Function test_index

examples/javascript/tests/test_js_example.py:14–19  ·  view source on GitHub ↗
(app, client, path, template_name)

Source from the content-addressed store, hash-verified

12 ),
13)
14def test_index(app, client, path, template_name):
15 def check(sender, template, context):
16 assert template.name == template_name
17
18 with template_rendered.connected_to(check, app):
19 client.get(path)
20
21
22@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected