From a8a2ba124dfe7f210c5a262e2ee38f6f3f54aff8 Mon Sep 17 00:00:00 2001 From: Kelsey Jordahl Date: Thu, 10 Jul 2014 21:58:24 -0500 Subject: [PATCH] TST: Use a longer timeout for geopy in test --- tests/test_geocode.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_geocode.py b/tests/test_geocode.py index cd01ec5..d47c374 100644 --- a/tests/test_geocode.py +++ b/tests/test_geocode.py @@ -67,13 +67,13 @@ class TestGeocode(unittest.TestCase): geocode(['cambridge, ma'], 'badprovider') def test_googlev3(self): - g = geocode(self.locations, provider='googlev3') + g = geocode(self.locations, provider='googlev3', timeout=2) self.assertIsInstance(g, gpd.GeoDataFrame) def test_openmapquest(self): - g = geocode(self.locations, provider='openmapquest') + g = geocode(self.locations, provider='openmapquest', timeout=2) self.assertIsInstance(g, gpd.GeoDataFrame) def test_nominatim(self): - g = geocode(self.locations, provider='nominatim') + g = geocode(self.locations, provider='nominatim', timeout=2) self.assertIsInstance(g, gpd.GeoDataFrame)