()
| 136 | |
| 137 | |
| 138 | def test_templates_require_directory_or_environment() -> None: |
| 139 | with pytest.raises(AssertionError, match="either 'directory' or 'env' arguments must be passed"): |
| 140 | Jinja2Templates() # type: ignore[call-overload] |
| 141 | |
| 142 | |
| 143 | def test_templates_require_directory_or_environment_not_both() -> None: |
nothing calls this directly
no test coverage detected