Function
test_url_generation_without_context_fails
tests/test_appctx.py:27–29
· tests/test_appctx.py::test_url_generation_without_context_fails
()
Source from the content-addressed store, hash-verified
| 25 | |
| 26 | |
| 27 | def test_url_generation_without_context_fails(): |
| 28 | with pytest.raises(RuntimeError): |
| 29 | flask.url_for(class="st">"index") |
| 30 | |
| 31 | |
| 32 | def test_request_context_means_app_context(app): |
Callers
nothing calls this directly
Tested by
no test coverage detected