From e84795100ddc597e047b9bdcf66a9135aa04f7a7 Mon Sep 17 00:00:00 2001 From: r-leyshon Date: Wed, 20 Sep 2023 13:27:25 +0100 Subject: [PATCH] docs: Tweak docstring regarding duplicate service ids --- tests/gtfs/test_validation.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/gtfs/test_validation.py b/tests/gtfs/test_validation.py index 54dff447..3c4c3bd7 100644 --- a/tests/gtfs/test_validation.py +++ b/tests/gtfs/test_validation.py @@ -217,11 +217,10 @@ def test_unmatched_service_id_behaviour(self, gtfs_fixture): Notes ----- - 'gtfs-kit' does not care about invalid service IDs in the calendar # + 'gtfs-kit' does not care about unmatched service IDs in the calendar table. The Calendar table can have data with any service_id as long as - the datatypes are correct. - This is can be seen in this unit tests as the test is testing this - functionality. + the datatypes are string. However, gtfs_kit will state an error if the + calendar table contains duplicate service_ids. """ feed = gtfs_fixture.feed