mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-09 11:22:50 +08:00
TST: Use a longer timeout for geopy in test
This commit is contained in:
@@ -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