[tests] TemplatesVersion: Add message when compatibility assertion is raised

If a compatibility issue is found and the assertion is raised, a message
is now displayed to indicate which template (with its path) and which
node (with its node type) caused the issue.
This commit is contained in:
Candice Bentéjac 2023-04-07 08:02:14 +01:00
parent 13135a4db3
commit f88e7d2a0a

View file

@ -55,4 +55,4 @@ def test_templateVersions():
compatibilityIssue = CompatibilityIssue.DescriptionConflict
break
assert compatibilityIssue is None
assert compatibilityIssue is None, "{} in {} for node {}".format(compatibilityIssue, path, nodeType)