blob: 841c30e791c8a402316ebea41849b3fd859a9e68 (
plain)
1
2
3
4
5
6
7
8
9
|
import pom_parser
import unittest
def test_path(tester: unittest.TestCase, path: str) -> None:
try:
pom_parser.load_path(path)
tester.fail(f'Parsing configuration {path} should have failed.')
except pom_parser.Error:
pass
|