Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CBROWN-ONS committed Jul 2, 2024
1 parent b6a129d commit 59f4858
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 @@ -250,7 +250,7 @@ def test_trips_unmatched_ids(self, newp_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, newp_gtfs_fixture):
Expand Down Expand Up @@ -289,7 +289,7 @@ def test_routes_unmatched_ids(self, newp_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, newp_gtfs_fixture):
Expand Down

0 comments on commit 59f4858

Please sign in to comment.