From b1620a98dc9624b958ca2928ff71c7efa0aa3389 Mon Sep 17 00:00:00 2001 From: PascalEgn Date: Mon, 15 Jul 2024 15:24:11 +0200 Subject: [PATCH] tests: adjust times --- tests/test_reminders.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_reminders.py b/tests/test_reminders.py index 4d31416..34bd683 100644 --- a/tests/test_reminders.py +++ b/tests/test_reminders.py @@ -32,8 +32,8 @@ def test_next_planning(): @freeze_time("2023-06-12") def test_next_review(): - test_date = datetime(2023, 6, 12, 15, 32) - expected_result = datetime(2023, 6, 15, 16, 00).strftime( + test_date = datetime(2023, 6, 12, 14, 32) + expected_result = datetime(2023, 6, 15, 15, 00).strftime( "**%Y-%m-%d** at **%H:%M**" ) @@ -61,7 +61,7 @@ def test_next_daily(): def test_reminder_next(): planning_content = datetime(2023, 6, 19, 15, 00) daily_content = datetime(2023, 6, 13, 9, 30) - review_content = datetime(2023, 6, 15, 16, 00) + review_content = datetime(2023, 6, 15, 15, 00) restrospective_content = datetime(2023, 6, 16, 9, 30).strftime( "**%Y-%m-%d** at **%H:%M**" )