Skip to content

Commit

Permalink
Update tests to match new case from geocoder
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadain committed Apr 19, 2024
1 parent 9f59ef8 commit 153f91d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omgeo/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def test_geocode_esri_wgs_senado_mx(self):
"""
candidates = self.g_esri_wgs.get_candidates(self.pq['senado_mx'])
self.assertOneCandidate(candidates)
search_text = 'Paseo de la Reforma 135'
search_text = 'Paseo de La Reforma 135'
self.assertEqual(search_text in candidates[0].match_addr, True,
'"%s" not found in match_addr. Got "%s".'
% (search_text, candidates[0].match_addr))
Expand All @@ -192,7 +192,7 @@ def test_geocode_structured_esri_wgs_senado_mx(self):
"""
candidates = self.g_esri_wgs.get_candidates(self.pq['senado_mx_struct'])
self.assertOneCandidate(candidates)
search_text = 'Paseo de la Reforma 135'
search_text = 'Paseo de La Reforma 135'
self.assertEqual(search_text in candidates[0].match_addr, True,
'"%s" not found in match_addr. Got "%s".'
% (search_text, candidates[0].match_addr))
Expand Down

0 comments on commit 153f91d

Please sign in to comment.