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
This commit is contained in:
Abhijeet Kumar 2021-02-04 06:50:07 +05:30 committed by GitHub
parent 7864719dcc
commit a303dcb3be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")