@@ -519,13 +519,13 @@ def test_invalid_iteration_collects_errors_if_iteration_rules_have_invalid_data(
519519 ("iteration_time_input" , "default_time_iteration_input" , "expected_date_time" ),
520520 [
521521 # Case 1: Iteration time overrides default
522- ("14:30:00" , "09:00:00" , datetime (2025 , 1 , 2 , 14 , 30 , 0 )), # noqa: DTZ001
522+ ("14:30:00" , "09:00:00" , datetime (2025 , 1 , 2 , 14 , 30 , 0 , tzinfo = UTC )),
523523 # Case 2: Iteration time is missing, so it uses campaign config iteration_time
524- (None , "09:00:00" , datetime (2025 , 1 , 2 , 9 , 0 , 0 )), # noqa: DTZ001
524+ (None , "09:00:00" , datetime (2025 , 1 , 2 , 9 , 0 , 0 , tzinfo = UTC )),
525525 # Case 3: Both are the same
526- ("10:00:00" , "10:00:00" , datetime (2025 , 1 , 2 , 10 , 0 , 0 )), # noqa: DTZ001
526+ ("10:00:00" , "10:00:00" , datetime (2025 , 1 , 2 , 10 , 0 , 0 , tzinfo = UTC )),
527527 # Case 4: Both are None, falls back to default value (12 AM) in campaign config iteration_time
528- (None , None , datetime (2025 , 1 , 2 , 0 , 0 , 0 )), # noqa: DTZ001
528+ (None , None , datetime (2025 , 1 , 2 , 0 , 0 , 0 , tzinfo = UTC )),
529529 ],
530530 )
531531 def test_iteration_full_datetime_validation (
0 commit comments