From 63ad09cd87265f59c651346bfe8310cb04f1185a Mon Sep 17 00:00:00 2001 From: Javier Torres Date: Tue, 8 Jan 2019 23:50:33 +0100 Subject: [PATCH] New school districts column name in tests --- src/python/test/autotest.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/python/test/autotest.py b/src/python/test/autotest.py index e138400..02f9f60 100644 --- a/src/python/test/autotest.py +++ b/src/python/test/autotest.py @@ -122,12 +122,8 @@ def default_lonlat(column_id): return (48.860875144709475, 2.3613739013671875) elif column_id.startswith('ca.'): return (43.65594991256823, -79.37965393066406) - elif column_id in ('us.census.tiger.school_district_elementary', - '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'): + elif (column_id.startswith('us.census.tiger.school_district_elementary') or + column_id.startswith('us.census.tiger.school_district_secondary')): return (40.7025, -73.7067) elif column_id.startswith('us.census.'): return (28.3305906291771, -81.3544048197256)