def test_prompt_for_google_api_key(monkeypatch: pytest.MonkeyPatch) -> None:
  """Prompt should return the API-key input."""
  monkeypatch.setattr(click, "prompt", lambda *a, **k: "api-key")
  assert cli_create._prompt_for_google_api_key(None) == "api-key"
Prompt should return the API-key input.
tests/unittests/cli/utils/test_cli_create.py