mirror of https://github.com/eyhc1/rendercv.git
fix get_today tests
This commit is contained in:
parent
6b6432b716
commit
d212453698
|
@ -184,7 +184,7 @@ class TestRendering(unittest.TestCase):
|
||||||
self.assertEqual(rendering.divide_length_by(length, divider), exp)
|
self.assertEqual(rendering.divide_length_by(length, divider), exp)
|
||||||
|
|
||||||
def test_get_today(self):
|
def test_get_today(self):
|
||||||
expected = date.today().strftime("%B %d, %Y")
|
expected = date.today().strftime("%B, %Y")
|
||||||
result = rendering.get_today()
|
result = rendering.get_today()
|
||||||
self.assertEqual(expected, result, msg="Today's date is not correct.")
|
self.assertEqual(expected, result, msg="Today's date is not correct.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue