def test_prompt_for_google_cloud_region(
    monkeypatch: pytest.MonkeyPatch,
) -> None:
  """Prompt should return the region input."""
  monkeypatch.setattr(click, "prompt", lambda *a, **k: "asia-northeast1")
  assert cli_create._prompt_for_google_cloud_region(None) == "asia-northeast1"
Prompt should return the region input.
tests/unittests/cli/utils/test_cli_create.py