diff --git a/tests/tests.py b/tests/tests.py index 32dfcc5..e69941a 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -4,7 +4,9 @@ import unittest import tempfile samples_dir = os.path.join(sys.path[0], "sample_configs") -CONFIG_FILES = list(os.path.join(samples_dir, file) for file in os.listdir(samples_dir)) +CONFIG_FILES = dict( + (file, os.path.join(samples_dir, file)) for file in os.listdir(samples_dir) +) class ReadWriteTest(unittest.TestCase): @@ -20,3 +22,7 @@ class TestTempFile(ReadWriteTest): self.write_file.write("hello") self.write_file.seek(0) self.assertEqual(self.write_file.read(), "hello") + + +class TestParser(ReadWriteTest): + pass