summaryrefslogtreecommitdiff
path: root/tests/__init__.py
blob: e9737ec3f94ed6130c07ba11354b3ca135cb7b11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import unittest
import os
from tests import parsing

class TestParsing(unittest.TestCase):
	def test_all(self) -> None:
		test_dir = '../tests/parsing'
		for file in os.listdir(test_dir):
			if not file.endswith('.flat.pom'): continue
			with self.subTest(file):
				parsing.test_path(self, f'{test_dir}/{file}')

if __name__ == '__main__':
	unittest.main()