New school districts column name in tests

This commit is contained in:
Javier Torres 2019-01-08 23:50:33 +01:00
parent d8e99d75aa
commit 63ad09cd87

View File

@ -122,12 +122,8 @@ def default_lonlat(column_id):
return (48.860875144709475, 2.3613739013671875) return (48.860875144709475, 2.3613739013671875)
elif column_id.startswith('ca.'): elif column_id.startswith('ca.'):
return (43.65594991256823, -79.37965393066406) return (43.65594991256823, -79.37965393066406)
elif column_id in ('us.census.tiger.school_district_elementary', elif (column_id.startswith('us.census.tiger.school_district_elementary') or
'us.census.tiger.school_district_secondary', column_id.startswith('us.census.tiger.school_district_secondary')):
'us.census.tiger.school_district_elementary_clipped',
'us.census.tiger.school_district_secondary_clipped',
'us.census.tiger.school_district_elementary_geoname',
'us.census.tiger.school_district_secondary_geoname'):
return (40.7025, -73.7067) return (40.7025, -73.7067)
elif column_id.startswith('us.census.'): elif column_id.startswith('us.census.'):
return (28.3305906291771, -81.3544048197256) return (28.3305906291771, -81.3544048197256)