Skip to content

Commit

Permalink
Troubleshooting result languages
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Apr 30, 2024
1 parent 3c18faa commit 76d79a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_map_maker_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_geocode_lookup(self):

# Test language
valid_es_location = self.api.handle_query(address=VALID_ADDRESS,
lang_code="es-mx")
lang_code="es-us")
self.assertEqual(valid_es_location['status_code'], 200)
self.assertEqual(valid_es_location["encoding"].lower(), "utf-8")
es_location = json.loads(valid_es_location["content"])[0]
Expand All @@ -93,7 +93,7 @@ def test_reverse_lookup(self):

# Test language
valid_es_location = self.api.handle_query(lat=VALID_LAT, lon=VALID_LON,
lang_code="es-mx")
lang_code="es")
self.assertEqual(valid_es_location['status_code'], 200)
self.assertEqual(valid_es_location["encoding"].lower(), "utf-8")
es_location = json.loads(valid_es_location["content"])['address']
Expand Down

0 comments on commit 76d79a2

Please sign in to comment.