7530: typo on import geneweb unit test

This commit is contained in:
Jérôme Rapinat 2014-03-13 12:03:17 +01:00
parent 40d169f346
commit 6d8679df2d

View File

@ -32,7 +32,7 @@ class ParseDateTest(unittest.TestCase):
def test_regular_date_parsed_dmy(self): def test_regular_date_parsed_dmy(self):
d = self.parse("28/2/1876") d = self.parse("28/2/1876")
self.assertEqual(d.get_dmy(), (28, 2, 1876)) self.assertEqual(d.get_ymd(), (1876, 2, 28))
def test_invalid_date_stays_verbatim_text(self): def test_invalid_date_stays_verbatim_text(self):
text = "29/2/1875" text = "29/2/1875"