From 4d4a1e047463f060eb71db03bc4dc062cdb0d581 Mon Sep 17 00:00:00 2001 From: Charlie Browning <121952297+CBROWN-ONS@users.noreply.github.com> Date: Mon, 22 Jan 2024 10:29:42 +0000 Subject: [PATCH] Update test_multi_validation.py update assertions --- tests/gtfs/test_multi_validation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/gtfs/test_multi_validation.py b/tests/gtfs/test_multi_validation.py index 28d2abec..11732e7b 100644 --- a/tests/gtfs/test_multi_validation.py +++ b/tests/gtfs/test_multi_validation.py @@ -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" @@ -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