def test_married_after_death_3(self):
     ged = self.generate_fam_1(marriage='01 JAN 2010', birth='01 JAN 1950', divorce='05 JAN 2020', death='31 DEC 2009')
     fams, indis = proj.parse_ged_data(ged)
     output = validation.validate_marriage_before_death(fams, indis)
     self.assertEqual(output, [('F1', 'Family id=F1 has marriage after death of partner')])
 def test_married_before_death_3(self):
     ged = self.generate_fam_1(marriage='01 JAN 1970', birth='01 JAN 1950', divorce='05 JAN 2020', death='01 JAN 2040')
     fams, indis = proj.parse_ged_data(ged)
     output = validation.validate_marriage_before_death(fams, indis)
     self.assertEqual(output, [])