-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration tests for Geofabrik Overpass API #959
base: master
Are you sure you want to change the base?
Conversation
Adding TestOverpass.py
Workflow file runs the shell script. Shell script sets up emission environment and runs TestOverpass.py.
Adding commands to workflow to get a sense of why it's not running.
Running with the correct path this time (I think)
Adding runner permissions for setup script.
Currently, tests 2 and 3 only call the free version of the API to make calls. There are a few ways that come to mind to change this:
I think the answer is a combination of 2 and 3, but I'd like some feedback from @shankari on my tests before deciding what to do |
@nataliejschultz high-level question: why do we need to keep the configuration in a file? There is a single variable in the file. |
Addressing e-mission/e-mission-docs#1036
As of now, there are three tests in the TestOverpass.py module:
test_overpass
, which compares a call to the free version of overpass with a call to the geofabrik versiontest_get_stops_near
, which passes a set of coordinates (as a list inside a dictionary) toget_stops_near
inmatch_stops.py
.test_get_predicted_transit_mode
, which passes two sets of coordinates toget_predicted_transit_mode
inmatch_stops.py
.