From 3c7181e6bd1ce436e18c5c3b42b401a855a14189 Mon Sep 17 00:00:00 2001 From: ray Date: Mon, 15 Apr 2024 16:19:14 -0700 Subject: [PATCH] DBC22-893: unit test fixes --- src/backend/apps/event/tests/test_event_serializer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/apps/event/tests/test_event_serializer.py b/src/backend/apps/event/tests/test_event_serializer.py index 34cbf78a..9a2204cd 100644 --- a/src/backend/apps/event/tests/test_event_serializer.py +++ b/src/backend/apps/event/tests/test_event_serializer.py @@ -99,14 +99,14 @@ def setUp(self): self.serializer_five = EventSerializer(self.event_five) def test_serializer_data(self): - assert len(self.serializer.data) == 26 + assert len(self.serializer.data) == 27 # route_from beings with 'at ' assert self.serializer.data['route_display'] == \ "Test Road to Test Avenue" assert self.serializer.data['direction_display'] == \ "Northbound" - assert len(self.serializer_two.data) == 26 + assert len(self.serializer_two.data) == 27 # route_from doesn't being with 'at ' assert self.serializer_two.data['route_display'] == \ "Test Road Two to Test Avenue Two"