Total Complexity | 1 |
Total Lines | 9 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | import unittest |
||
6 | class RESULT_SEVERITYTest(unittest.TestCase): |
||
7 | |||
8 | def test_str_conversion(self): |
||
9 | self.assertEqual("INFO", |
||
10 | RESULT_SEVERITY.__str__(RESULT_SEVERITY.INFO)) |
||
11 | self.assertEqual("NORMAL", |
||
12 | RESULT_SEVERITY.__str__(RESULT_SEVERITY.NORMAL)) |
||
13 | self.assertEqual("MAJOR", |
||
14 | RESULT_SEVERITY.__str__(RESULT_SEVERITY.MAJOR)) |
||
15 |