diff --git a/testing/databaseTest.py b/testing/databaseTest.py index 0c64a57e26a..6c4b3fe5852 100644 --- a/testing/databaseTest.py +++ b/testing/databaseTest.py @@ -135,9 +135,8 @@ def test_kinetics(self): # these families have some sort of difficulty which prevents us from testing accessibility right now difficult_families = ['Diels_alder_addition', 'Intra_R_Add_Exocyclic', 'Intra_R_Add_Endocyclic', 'Retroene'] - generated_trees = ["R_Recombination"] - if len(family.forward_template.reactants) < len(family.groups.top) and family_name not in difficult_families: + if len(family.forward_template.reactants) < len(family.groups.top) and family_name not family.auto_generated: test = lambda x: self.kinetics_check_unimolecular_groups(family_name) test_name = "Kinetics family {0} check that unimolecular group is formatted correctly?".format( family_name) @@ -145,7 +144,7 @@ def test_kinetics(self): self.compat_func_name = test_name yield test, family_name - if family_name not in difficult_families and family_name not in generated_trees: + if family_name not in difficult_families and family_name not family.auto_generated: test = lambda x: self.kinetics_check_sample_descends_to_group(family_name) test_name = "Kinetics family {0}: Entry is accessible?".format(family_name) test.description = test_name