Skip to content

Commit 9d96f74

Browse files
committed
further fix to the test
Signed-off-by: Jonathan Bnayahu <[email protected]>
1 parent 3b02ff1 commit 9d96f74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/library/test_cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,13 +750,15 @@ def test_save_results_to_disk_summary_only(
750750
"""Test saving only the summary results file (log_samples=False)."""
751751
# --- Arrange ---
752752
# (Arrange section remains the same as previous version)
753-
mock_timestamp = "2025-04-14T08:00:00"
753+
mock_timestamp = "2025-04-14T10:00:00"
754754
mock_now = MagicMock()
755755
mock_now.strftime.return_value = mock_timestamp
756756
mock_datetime.now.return_value = mock_now
757757
mock_utcnow = MagicMock()
758758
mock_utcnow.isoformat.return_value = "2025-04-14T08:00:00"
759759
mock_datetime.utcnow.return_value = mock_utcnow
760+
mock_astimezone = MagicMock()
761+
mock_astimezone.strftime.return_value = "2025-04-14T08:00:00"
760762

761763
args = argparse.Namespace(
762764
log_samples=False,

0 commit comments

Comments
 (0)