Skip to content

Commit

Permalink
fix: Update sanitycheck tests as feed expired now appears
Browse files Browse the repository at this point in the history
  • Loading branch information
r-leyshon committed Jun 21, 2024
1 parent 736d9da commit 0d49923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def test_trips_unmatched_ids(self, gtfs_fixture):
assert (
len(new_valid[new_valid.message == "Trip has no stop times"]) == 1
), "gtfs-kit failed to recognise invalid service_id"
assert len(new_valid) == 10, "Validation table not expected size"
assert len(new_valid) == 11, "Validation table not expected size"

@pytest.mark.sanitycheck
def test_routes_unmatched_ids(self, gtfs_fixture):
Expand Down Expand Up @@ -245,7 +245,7 @@ def test_routes_unmatched_ids(self, gtfs_fixture):
assert (
len(new_valid[new_valid.message == "Route has no trips"]) == 1
), "gtfs-kit failed to recognise that there are routes with no trips"
assert len(new_valid) == 9, "Validation table not expected size"
assert len(new_valid) == 10, "Validation table not expected size"

@pytest.mark.sanitycheck
def test_unmatched_service_id_behaviour(self, gtfs_fixture):
Expand Down

0 comments on commit 0d49923

Please sign in to comment.