code: def test_regions_parents_in_regions_object_and_geo_data_frame():
      # parent request from regions object should be propagated to resulting GeoDataFrame
      massachusetts = geodata.geocode_states("massachusetts")
      boston = geodata.geocode_cities("boston").states(massachusetts)
  
      assert_row(
          boston.get_geocodes(),
          names="boston",
          state="massachusetts",
          county=NO_COLUMN,
          country=NO_COLUMN,
      )
      assert_row(
          boston.get_centroids(),
          names="boston",
          state="massachusetts",
          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 4 for calling a global function with example usage: test_regions_parents_in_regions_object_and_geo_data_frame() without return types