@mock.patch(_GEOCODE)
def test_output_column_names_are_applied(self, mocked_geocode, test_dataframe):
    mocked_geocode.side_effect = [{'lat': '12.923432', 'lon': '-75.234569'}, {'lat': '99.999999', 'lon': '-88.888888'}, {'lat': '-2.202022', 'lon': '0.000000'}]
    expected_dataframe = pd.DataFrame({'index': [0, 1, 2], 'city': ['London', 'Sheffield', 'Brussels'], 'country': ['UK', 'United Kingdom', 'Belgium'], 'lat': [12.923432, 99.999999, (- 2.202022)], 'lon': [(- 75.234569), (- 88.888888), 0.0]})
    geocoded_dataframe = geocode_batch_dataframe(test_dataframe, latitude='lat', longitude='lon')
    assert_frame_equal(geocoded_dataframe, expected_dataframe, check_like=True, check_dtype=False)
@mock.patch(_GEOCODE)
def test_output_column_names_are_applied(self, mocked_geocode, test_dataframe):
    mocked_geocode.side_effect = [{'lat': '12.923432', 'lon': '-75.234569'}, {'lat': '99.999999', 'lon': '-88.888888'}, {'lat': '-2.202022', 'lon': '0.000000'}]
    expected_dataframe = pd.DataFrame({'index': [0, 1, 2], 'city': ['London', 'Sheffield', 'Brussels'], 'country': ['UK', 'United Kingdom', 'Belgium'], 'lat': [12.923432, 99.999999, (- 2.202022)], 'lon': [(- 75.234569), (- 88.888888), 0.0]})
    geocoded_dataframe = geocode_batch_dataframe(test_dataframe, latitude='lat', longitude='lon')
    assert_frame_equal(geocoded_dataframe, expected_dataframe, check_like=True, check_dtype=False)