def METHOD_NAME(api):
    kwargs = {
        "uri": None,
        "job": "mock_server_entity/Test_project/test:v0",
        "api": api,
        "launch_spec": {},
        "target_entity": "live_mock_server_entity",
        "target_project": "Test_project",
        "name": None,
        "docker_config": {},
        "git_info": {},
        "overrides": {},
        "resource": "local-container",
        "resource_args": {},
        "run_id": None,
    }
    launch_project = _project_spec.LaunchProject(**kwargs)
    with pytest.raises(LaunchError) as e_info:
        launch_project._fetch_job()
    assert (
        "Job mock_server_entity/Test_project/test:v0 not found. Jobs have the format: <entity>/<project>/<name>:<alias>"
        in str(e_info.value)
    )