Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Add support for trip to trip transfers #509

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Bertware
Copy link
Contributor

This PR adds support for trip to trip transfers in the googletransit extension.

  • A new transfer.py class was created to validate the additional fields. Checks are in place for duplicate ids and invalid trip_id or route_id references.
  • LoadTestCases can now take a GTFSFactory in the .Load() method in order to be able to test extensions.
  • Tests have been added to check for duplicate IDs and invalid trip_ids.

More information on Trip To Trip transfers: https://developers.google.com/transit/gtfs/reference/gtfs-extensions#TripToTripTransfers

…olumns and duplicate ID validation. Allow LoadTestCases to specify a GTFSFactory on load in order to be able to test extensions. Adds tests for new functionality

More information on Trip To Trip transfers:  https://developers.google.com/transit/gtfs/reference/gtfs-extensions#TripToTripTransfers
@Bertware Bertware changed the title Adds support for trip to trip transfers Add support for trip to trip transfers Jan 24, 2020
@Bertware Bertware requested a review from jarondl January 24, 2020 14:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant