Skip to content

Commit

Permalink
Add test case to validate language support
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Apr 30, 2024
1 parent a8b0c8a commit 3c18faa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_map_maker_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def test_geocode_lookup(self):
self.assertEqual(valid_es_location["encoding"].lower(), "utf-8")
es_location = json.loads(valid_es_location["content"])[0]
self.assertNotEqual(valid_location, es_location)
self.assertEqual(valid_location['lat'], es_location['lat'])
self.assertEqual(valid_location['lon'], es_location['lon'])

invalid_response = self.api.handle_query(address=INVALID_ADDRESS)
self.assertEqual(invalid_response['status_code'], -1)
Expand Down

0 comments on commit 3c18faa

Please sign in to comment.