aboutsummaryrefslogtreecommitdiff
path: root/tools/interface_generator/bin/templates_unittest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/interface_generator/bin/templates_unittest.py')
-rw-r--r--[-rwxr-xr-x]tools/interface_generator/bin/templates_unittest.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/interface_generator/bin/templates_unittest.py b/tools/interface_generator/bin/templates_unittest.py
index a5adf0f..acb1685 100755..100644
--- a/tools/interface_generator/bin/templates_unittest.py
+++ b/tools/interface_generator/bin/templates_unittest.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python3
-
"""
templates unit tests
"""
@@ -9,7 +7,7 @@ from pathlib import Path
import templates
-class Templates(unittest.TestCase):
+class TemplatesUnittest(unittest.TestCase):
"""templates unit tests"""
def test_get_templates_dir_is_valid(self):
@@ -30,7 +28,3 @@ class Templates(unittest.TestCase):
self.assertTrue(isinstance(template, Path))
self.assertTrue(template.exists())
self.assertTrue(template.is_file())
-
-
-if __name__ == "__main__":
- unittest.main()