def test_cli_geocode_invalid_country():
    runner = CliRunner()

    result = runner.invoke(
        main_group,
        ['geocoding', '--country', 'US,Tatooine'],
        input='Millennium Falcon')
    assert result.exit_code == 2
    assert "Invalid value" in result.output
dataset/ETHPy150Open mapbox/mapbox-cli-py/tests/test_geocoding.py/test_cli_geocode_invalid_country/original