diff options
author | aqua <aqua@iserlohn-fortress.net> | 2024-08-18 15:08:13 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2024-08-18 15:08:13 +0300 |
commit | ff0286195eeb4dc659863af4afbdf9ddd4d53a1b (patch) | |
tree | 94b06a2efdf8b349f7822dd79f5a6de5780bcbe3 /tools/interface_generator/templates_unittest.py | |
parent | Moved pytest to private (diff) | |
download | kernel-ff0286195eeb4dc659863af4afbdf9ddd4d53a1b.tar.xz |
Moved interface_generator script to bin
Diffstat (limited to 'tools/interface_generator/templates_unittest.py')
-rwxr-xr-x | tools/interface_generator/templates_unittest.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/interface_generator/templates_unittest.py b/tools/interface_generator/templates_unittest.py deleted file mode 100755 index 594753d..0000000 --- a/tools/interface_generator/templates_unittest.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python3 - -import unittest -import templates -from pathlib import Path - - -class Templates(unittest.TestCase): - def test_get_templates(self): - path = Path("templates") - result = templates.get_templates(path) - - self.assertGreater(len(result), 0) - for template in result: - self.assertTrue(isinstance(template, Path)) - self.assertTrue(template.exists()) - self.assertTrue(template.is_file()) - - -if __name__ == "__main__": - unittest.main() |