Python: Ignore any captured info with tests in it

This commit is contained in:
Rasmus Wriedt Larsen
2023-11-02 14:09:37 +01:00
parent de41f199fc
commit c4abffe77e

View File

@@ -513,5 +513,6 @@ where
newModel(subclass, newModelFullyQualified, _, mod, _)
) and
fullyQualifiedToYamlFormat(newModelFullyQualified, type2, path) and
not Extensions::typeModel(spec, type2, path)
not Extensions::typeModel(spec, type2, path) and
not newModelFullyQualified.regexpMatch("(?i).*tests?_?.*")
select spec.(string), type2, path