def METHOD_NAME(
    path: str, app_file_content: str, create_app_file: CreateAppFileFixture
) -> None:
    create_app_file(file=path, directory=None, content=app_file_content)
    with pytest.raises(ClickException):
        LitestarEnv.from_env(None)