(value)
| 237 | def test_template_test_with_name(app): |
| 238 | @app.template_test("boolean") |
| 239 | def is_boolean(value): |
| 240 | return isinstance(value, bool) |
| 241 | |
| 242 | assert "boolean" in app.jinja_env.tests.keys() |
| 243 | assert app.jinja_env.tests["boolean"] == is_boolean |
nothing calls this directly
no outgoing calls
no test coverage detected