...
Tests for each file and their respective functions are found in the routemodel/tests
folder. To run these tests, go onto your command line, make sure you can run Python scripts from there (if you use Anaconda, this will mean opening the Anaconda Command Prompt instead of the normal one), change into the strategy/routemodel
directory and run the command pytest
.
Current Architecture and Intended Usage
The diagram below showcases the intended flow of information between files/functions.
...
Purple arrows signify an automatic import. Orange arrows mean that there are defaults for the given inputs. Blue arrows occur within a function (here, the Bing Maps request and response occurs within the API Data Getter in the common.py file.