@@ -87,8 +87,8 @@ def setUp(self):
8787 notification_days = ['Monday' , 'Tuesday' ],
8888 notification_start_date = None ,
8989 notification_end_date = None ,
90- notification_start_time = datetime .time (8 , 0 , tzinfo = ZoneInfo ( 'America/Vancouver' ) ),
91- notification_end_time = datetime .time (18 , 0 , tzinfo = ZoneInfo ( 'America/Vancouver' ) )
90+ notification_start_time = datetime .time (8 , 0 ),
91+ notification_end_time = datetime .time (18 , 0 )
9292 )
9393
9494 # Case 3: Route matching date period and time frame
@@ -105,8 +105,8 @@ def setUp(self):
105105 notification_days = [],
106106 notification_start_date = datetime .date (2023 , 10 , 10 ),
107107 notification_end_date = datetime .date (2023 , 10 , 20 ),
108- notification_start_time = datetime .time (8 , 0 , tzinfo = ZoneInfo ( 'America/Vancouver' ) ),
109- notification_end_time = datetime .time (18 , 0 , tzinfo = ZoneInfo ( 'America/Vancouver' ) )
108+ notification_start_time = datetime .time (8 , 0 ),
109+ notification_end_time = datetime .time (18 , 0 )
110110 )
111111
112112 # Case 4: Route matching specific date and time frame
@@ -123,8 +123,8 @@ def setUp(self):
123123 notification_days = [],
124124 notification_start_date = datetime .date (2023 , 10 , 11 ),
125125 notification_end_date = None ,
126- notification_start_time = datetime .time (8 , 0 , tzinfo = ZoneInfo ( 'America/Vancouver' ) ),
127- notification_end_time = datetime .time (18 , 0 , tzinfo = ZoneInfo ( 'America/Vancouver' ) )
126+ notification_start_time = datetime .time (8 , 0 ),
127+ notification_end_time = datetime .time (18 , 0 )
128128 )
129129
130130 # Case 5: Always active route with restricted notification types
0 commit comments