def test_geocode_geometry_svg(self):
        result_geocode = self._make_request(
            self.geocoder.geocode,
            self.known_state_en,
            geometry='svg',

        )
        self.assertEqual(
            result_geocode.raw['svg'].startswith('M 19.'),
            True
        )
Nominatim.geocode with full geometry (response in svg format)
dataset/ETHPy150Open geopy/geopy/test/geocoders/nominatim.py/NominatimTestCase.test_geocode_geometry_svg