Add the unit-test badge
[kconfig-hardened-check.git] / kconfig_hardened_check / test_engine.py
1 #!/usr/bin/python3
2
3 """
4 This tool helps me to check Linux kernel options against
5 my security hardening preferences for X86_64, ARM64, X86_32, and ARM.
6 Let the computers do their job!
7
8 Author: Alexander Popov <alex.popov@linux.com>
9
10 This module performs unit-testing of the kconfig-hardened-check engine.
11 """
12
13 import unittest
14 # from .engine import populate_with_data, perform_checks
15
16 class TestEngine(unittest.TestCase):
17     def test_upper(self):
18         self.assertEqual('foo'.upper(), 'FOO')
19
20     def test_isupper(self):
21         self.assertTrue('FOO'.isupper())
22         self.assertTrue('Foo'.isupper())