Skip to content

Commit

Permalink
Update test_multi_validation.py
Browse files Browse the repository at this point in the history
update assertions
  • Loading branch information
CBROWN-ONS authored Jan 22, 2024
1 parent 36d7438 commit 4d4a1e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/gtfs/test_multi_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def test_get_dates(self, multi_gtfs_fixture, multi_gtfs_altered_fixture):
# return_range=True
assert (
len(multi_gtfs_fixture.get_dates()) == 2
), "Too many dates returned"
), "Unexpected number of dates returned"
assert (
multi_gtfs_fixture.get_dates()[0] == "20230605"
), "min not as expected"
Expand All @@ -505,7 +505,9 @@ def test_get_dates(self, multi_gtfs_fixture, multi_gtfs_altered_fixture):
assert (
multi_gtfs_altered_fixture.get_dates()[0] == "20220517"
), "min not as expected"
assert multi_gtfs_altered_fixture.get_dates()[1] == "20240613"
assert (
multi_gtfs_altered_fixture.get_dates()[1] == "20240613"
), "max not as expected"
# return_range=False
assert (
len(multi_gtfs_altered_fixture.get_dates(return_range=False)) == 6
Expand Down

0 comments on commit 4d4a1e0

Please sign in to comment.