forked from e-mission/e-mission-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fake place creation + geofabrik testing functionality
nominatim-docker-test.yml: added environment variable for the geofabrik query url with GitHub actions secrets. we will see if this works in this commit. docker-compose.yml: commented out healthcheck because it isn't currently doing anything useful to delay the start. Should remove completely once docker commit is working. TestNominatim.py: added functionality for geofabrik calls with GH actions secrets. Added creation of a fake place to use for testing of get_filtered_place. Added test comparing geofabrik and nominatim hard-coded calls (these may not be possible from within the container so might be removed) Added test for get_filtered_place in clean_and_resample, which passes in the fake place created above. Modified test_get_json_reverse to only check the display name for now.
- Loading branch information
1 parent
bdc70ae
commit 86d51e4
Showing
3 changed files
with
63 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters