Skip to content

Commit 9fb6db3

Browse files
committed
skip kinetics_check_groups_nonidentical for auto generated families
autogen trees should not have identical groups, so this test is unnecessary
1 parent 09146cb commit 9fb6db3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

testing/databaseTest.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,12 @@ def test_kinetics(self):
8989
self.compat_func_name = test_name
9090
yield test, None
9191

92-
test = lambda x: self.kinetics_check_groups_nonidentical(family_name)
93-
test_name = "Kinetics family {0}: groups are not identical?".format(family_name)
94-
test.description = test_name
95-
self.compat_func_name = test_name
96-
yield test, family_name
92+
if not family.auto_generated:
93+
test = lambda x: self.kinetics_check_groups_nonidentical(family_name)
94+
test_name = "Kinetics family {0}: groups are not identical?".format(family_name)
95+
test.description = test_name
96+
self.compat_func_name = test_name
97+
yield test, family_name
9798

9899
test = lambda x: self.kinetics_check_child_parent_relationships(family_name)
99100
test_name = "Kinetics family {0}: parent-child relationships are correct?".format(family_name)

0 commit comments

Comments
 (0)