mirror of
https://github.com/wassname/geopandas.git
synced 2026-10-28 13:00:19 +08:00
TST: Use a longer timeout for geopy in test
This commit is contained in:
1 parent
9851566571
commit
a8a2ba124d
1 file changed
+3
-3
@@ -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)
|
||||
Reference in new issue
Block a user