code: def test_list_of_regions_parents_in_regions_object_and_geo_data_frame():
      # parent request from regions object should be propagated to resulting GeoDataFrame
      states = geodata.geocode_states(["massachusetts", "texas"])
      cities = geodata.geocode_cities(["boston", "austin"]).states(
          states
      )
  
      assert_row(
          cities.get_geocodes(),
          names=["boston", "austin"],
          state=["massachusetts", "texas"],
          county=NO_COLUMN,
          country=NO_COLUMN,
      )
  
      assert_row(
          cities.get_geocodes(),
          names=["boston", "austin"],
          state=["massachusetts", "texas"],
          county=NO_COLUMN,
          country=NO_COLUMN,
      )
  
imports: import pytest
  from shapely.geometry import Point, box
  import lets_plot.geo_data
  from lets_plot.geo_data import DF_COLUMN_FOUND_NAME, DF_COLUMN_ID, DF_COLUMN_COUNTRY, DF_COLUMN_STATE, DF_COLUMN_COUNTY, DF_COLUMN_CENTROID, DF_COLUMN_POSITION, DF_COLUMN_LIMIT
  from geo_data_test_util import assert_row, assert_error, NO_COLUMN, COLUMN_NAME_CITY
  from test_integration_with_geocoding_serever import TURN_OFF_INTERACTION_TEST
label_desc: Use image node_id 5 for calling a global function with example usage: test_list_of_regions_parents_in_regions_object_and_geo_data_frame() without return types