def test_wrong_both_dates(self): self.assertTrue(checkValidDates(root_child_elements[10]))
def test_correct_death_date(self): self.assertTrue(checkValidDates(root_child_elements[3]))
def test_wrong_death_date(self): self.assertTrue(checkValidDates(root_child_elements[6]))
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]))