set 10sec timeout for uscensus tests
@@ -11,11 +11,11 @@ us_zipcode = '94105'
def test_uscensus():
- g = geocoder.uscensus(' '.join([us_address, us_city, us_state, us_zipcode]))
+ g = geocoder.uscensus(' '.join([us_address, us_city, us_state, us_zipcode]), timeout=10)
assert g.ok
assert g.city == us_city.upper()
def test_uscensus_reverse():
- g = geocoder.uscensus((38.904722, -77.016389), method='reverse')
+ g = geocoder.uscensus((38.904722, -77.016389), method='reverse', timeout=10)
assert g.ok
