fix get_today tests

This commit is contained in:
Sina Atalay
2023-11-29 18:08:32 +01:00
parent 6b6432b716
commit d212453698

View File

@@ -184,7 +184,7 @@ class TestRendering(unittest.TestCase):
self.assertEqual(rendering.divide_length_by(length, divider), exp)
def test_get_today(self):
expected = date.today().strftime("%B %d, %Y")
expected = date.today().strftime("%B, %Y")
result = rendering.get_today()
self.assertEqual(expected, result, msg="Today's date is not correct.")