File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3072,14 +3072,14 @@ async def test_clock_synchronize_month_overflow(
30723072 await circle_node .load ()
30733073
30743074 # Mock CircleClockGetRequest.send() to return a response where
3075- # day_of_week is Saturday (5 ) while frozen time is Friday (4 ), Jan 31
3075+ # day_of_week is Sunday (6 ) while frozen time is Saturday (5 ), Jan 31
30763076 def mock_clock_get_send (self ):
30773077 response = pw_responses .CircleClockResponse ()
30783078 response .timestamp = dt .now (tz = UTC )
3079- # Set day_of_week to Saturday (5 ), requiring +1 day from Friday Jan 31
3079+ # Set day_of_week to Sunday (6 ), requiring +1 day from Saturday Jan 31
30803080 # Old code: Jan 31 + 1 = day 32 (ValueError)
30813081 # New code: Jan 31 + timedelta(days=1) = Feb 1 (correct)
3082- response .day_of_week .value = 5 # Saturday
3082+ response .day_of_week .value = 6 # Sunday
30833083 response .time .value = dt .now (tz = UTC ).time ()
30843084 return response
30853085
You can’t perform that action at this time.
0 commit comments