Esempio n. 1
0
 def test_wrong_both_dates(self):
     self.assertTrue(checkValidDates(root_child_elements[10]))
Esempio n. 2
0
 def test_correct_death_date(self):
     self.assertTrue(checkValidDates(root_child_elements[3]))
Esempio n. 3
0
 def test_wrong_death_date(self):
     self.assertTrue(checkValidDates(root_child_elements[6]))
Esempio n. 4
0
 def test_checkValidDates(self):
     self.assertTrue(checkValidDates(root_child_elements[1]))
     self.assertTrue(checkValidDates(root_child_elements[2]))
     self.assertTrue(checkValidDates(root_child_elements[3]))
     self.assertTrue(checkValidDates(root_child_elements[6]))
     self.assertTrue(checkValidDates(root_child_elements[10]))