Skip to content

Commit

Permalink
Revert "Fix expected value for geofabrik test"
Browse files Browse the repository at this point in the history
  • Loading branch information
shankari committed Sep 29, 2024
1 parent c0c3246 commit 250c26e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emission/individual_tests/TestNominatim.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ def test_get_json_reverse(self):
#Testing reverse_geocode, which reverse geocodes from a lat and lon and returns only the display name.
def test_reverse_geocode(self):
NominatimTest.nominatim("geofabrik")
expected_result = "India Street, Fox Point, Providence, Providence County, Rhode Island, 02906, United States"
expected_result = "Portugal Parkway, Fox Point, Providence, Providence County, Rhode Island, 02906, United States"
actual_result = eco.Geocoder.reverse_geocode(41.8174476, -71.3903767)
self.assertEqual(expected_result, actual_result)

if __name__ == '__main__':
unittest.main()
unittest.main()

0 comments on commit 250c26e

Please sign in to comment.