Skip to content

Development repository for the development of the accessibility tool for Transport for West Midlands.

Notifications You must be signed in to change notification settings

cmconlan/TfWM-Accessibility-Tool

Repository files navigation

TfWM-Accessibility-Tool unit tests

Development repository for the development of the accessibility tool for Transport for West Midlands.

Directory Structure

  • config/base - contains YAML files for configuring the model, and what data files are created in which tables.
  • doc - contains documentation for modelling, Postgres setup, and the webserver backend.
  • otp - files required for running Open Trip Planner.
  • reference - contains the OpenAPI documentation for the RESTful API provided by the backend, created using stoplight.io studio.
  • sql - contains a number of SQL statements within files. The base level queries are Postgres compatible, with MySQL and SQLite compatible queries residing in their respective folders.
  • src - contains the Python source for the ETL and modelling process, largely adapted from the previous project repository. Also contains the source code for the RESTful API in src/www.

Running the unit tests

Make sure that all the requirements are installed, and that the virtual environment is activated (if nedded). Navigate to src/www and run pytest -v. The full test takes around 10 minutes on the University server.

About

Development repository for the development of the accessibility tool for Transport for West Midlands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published