Пример #1
0
 def test_wrong_both_dates(self):
     self.assertTrue(checkValidDates(root_child_elements[10]))
Пример #2
0
 def test_correct_death_date(self):
     self.assertTrue(checkValidDates(root_child_elements[3]))
Пример #3
0
 def test_wrong_death_date(self):
     self.assertTrue(checkValidDates(root_child_elements[6]))
Пример #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]))