Skip to content

Commit

Permalink
shapes: tests: add expected failures for invalid templates
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVanAssche committed Jul 9, 2024
1 parent 2d0139f commit fbf2e68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shapes/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ def test_validation_rules(self, path: str) -> None:
print(f'Testing validation with: {path}')
if 'RMLTC0004b' in path or 'RMLTC0007h' in path or \
'RMLTC0012c' in path or 'RMLTC0012d' in path or \
'RMLTC0015b' in path:
'RMLTC0015b' in path or 'RMLTC0024a' in path or \
'RMLTC0024b' in path or 'RMLTC0024c' in path or \
'RMLTC0024d' in path:
with self.assertRaises(Exception):
self._validate_rules(path)
else:
Expand Down

0 comments on commit fbf2e68

Please sign in to comment.