Skip to content

Commit

Permalink
Bing first request rarely successful
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Feb 28, 2015
1 parent 9051309 commit 5500f2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test_geocoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,16 @@ def test_google_elevation():


def test_bing():
# First request rarely successful
g = geocoder.bing(location)
g = geocoder.bing(location)
assert g.ok
assert g.city == city


def test_bing_reverse():
# First request rarely successful
g = geocoder.bing(ottawa, method='reverse')
g = geocoder.bing(ottawa, method='reverse')
assert g.ok

Expand Down

0 comments on commit 5500f2f

Please sign in to comment.