def METHOD_NAME(monkeypatch, tmpfolder):
    # Given an entry point with some problems is registered in the pyscaffold.cli group
    # (e.g. failing implementation, wrong dependencies that cause the python file to
    # fail to evaluate)
    fake = EntryPoint("fake", "pyscaffoldext.SOOO__fake__:Fake", "pyscaffold.cli")
    entry_points_mock = Mock(return_value={"pyscaffold.cli": [fake]})
    monkeypatch.setattr("pyscaffold.extensions.entry_points", entry_points_mock)
    with pytest.raises(ErrorLoadingExtension, match=r".*error loading.*fake.*"):
        # When putup is called with the corresponding flag
        args = ["my-project"]
        cli.main(args)
        entry_points_mock.assert_called()
    # Then the CLI should display a meaningful error message