We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45d3c6a commit 44fde62Copy full SHA for 44fde62
1 file changed
tests/library/test_cli.py
@@ -750,13 +750,15 @@ def test_save_results_to_disk_summary_only(
750
"""Test saving only the summary results file (log_samples=False)."""
751
# --- Arrange ---
752
# (Arrange section remains the same as previous version)
753
- mock_timestamp = "2025-04-14T08:00:00"
+ mock_timestamp = "2025-04-14T10:00:00"
754
mock_now = MagicMock()
755
mock_now.strftime.return_value = mock_timestamp
756
mock_datetime.now.return_value = mock_now
757
mock_utcnow = MagicMock()
758
mock_utcnow.isoformat.return_value = "2025-04-14T08:00:00"
759
mock_datetime.utcnow.return_value = mock_utcnow
760
+ mock_astimezone = MagicMock()
761
+ mock_astimezone.strftime.return_value = "2025-04-14T08:00:00"
762
763
args = argparse.Namespace(
764
log_samples=False,
0 commit comments