From 7afac3b1f9fb29bb6e68f5ebe8782488b6be4d98 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 23 Sep 2025 11:05:20 -0400 Subject: Start tests, fix some bugs --- tests/__init__.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/__init__.py (limited to 'tests/__init__.py') diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e9737ec --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,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() + -- cgit v1.2.3