From a303dcb3be4f28ea01bebaa47f1f5651729df702 Mon Sep 17 00:00:00 2001 From: Abhijeet Kumar <63132585+Abhijeet1520@users.noreply.github.com> Date: Thu, 4 Feb 2021 06:50:07 +0530 Subject: [PATCH] Fix: function description in test_module.py (#2) Fix: function description in test_module.py fix test_two_days_later_with_day function's assertEqual message in test_module.py --- test_module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_module.py b/test_module.py index 490f51e..2e6006c 100644 --- a/test_module.py +++ b/test_module.py @@ -57,7 +57,7 @@ class UnitTests(unittest.TestCase): def test_two_days_later_with_day(self): actual = add_time("11:59 PM", "24:05", "Wednesday") expected = "12:04 AM, Friday (2 days later)" - self.assertEqual(actual, expected, 'Expected calling "add_time()" with "2:59 AM", "24:00", "Friday" to return "12:04 AM, Friday (2 days later)"') + self.assertEqual(actual, expected, 'Expected calling "add_time()" with "11:59 PM", "24:05", "Wednesday" to return "12:04 AM, Friday (2 days later)"') def test_high_duration_with_day(self): actual = add_time("8:16 PM", "466:02", "tuesday") @@ -65,4 +65,4 @@ class UnitTests(unittest.TestCase): self.assertEqual(actual, expected, 'Expected calling "add_time()" with "8:16 PM", "466:02", "tuesday" to return "6:18 AM, Monday (20 days later)"') if __name__ == "__main__": - unittest.main() \ No newline at end of file + unittest.main()