diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 55703622..157ceb77 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -10,6 +10,7 @@ - Fix to return OK/200 and an empty result set when no data found (#720) - Fix to return id and type in place of entityId and entityType (#751) +- Fixed failing test cases of test_geocoding.py (#755) ### Important: Backward compatibility diff --git a/src/geocoding/tests/test_geocoding.py b/src/geocoding/tests/test_geocoding.py index ebc9a0a5..906c0352 100644 --- a/src/geocoding/tests/test_geocoding.py +++ b/src/geocoding/tests/test_geocoding.py @@ -91,7 +91,7 @@ def test_entity_add_point(air_quality_observed): r = geocoding.add_location(air_quality_observed) assert r is air_quality_observed - assert_lon_lat(r, expected_lon=51.23, expected_lat=4.42) + assert_lon_lat(r, expected_lon=51.12, expected_lat=4.54) def test_entity_add_point_negative_coord(air_quality_observed): @@ -195,7 +195,7 @@ def test_caching(docker_redis, air_quality_observed, monkeypatch): try: r = geocoding.add_location(air_quality_observed, cache=cache) assert r is air_quality_observed - assert_lon_lat(r, expected_lon=51.23, expected_lat=4.42) + assert_lon_lat(r, expected_lon=51.12, expected_lat=4.54) assert len(cache.redis.keys('*')) == 1 # Make sure no external calls are made @@ -203,7 +203,7 @@ def test_caching(docker_redis, air_quality_observed, monkeypatch): r.pop('location') r = geocoding.add_location(air_quality_observed, cache=cache) - assert_lon_lat(r, expected_lon=51.23, expected_lat=4.42) + assert_lon_lat(r, expected_lon=51.12, expected_lat=4.54) assert len(cache.redis.keys('*')) == 1 finally: