Skip to content

Commit

Permalink
Add the test I should have already added #2559
Browse files Browse the repository at this point in the history
  • Loading branch information
iamleeg committed Mar 14, 2022
1 parent f4d10b2 commit 8fee379
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions geocoding/location-service/test/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ def test_unhealthy_when_mapbox_key_not_set(client):
def test_does_not_attempt_geocode_with_no_query(client):
response = client.get("/geocode")
assert response.status == '400 BAD REQUEST'

def test_searching_for_country_name(client):
response = client.get("/geocode/countryName?c=EE")
assert response.get_data(as_text=True) == 'Estonia'

0 comments on commit 8fee379

Please sign in to comment.