Total Complexity | 1 |
Total Lines | 11 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | #!/usr/bin/python |
||
9 | class TestVersion(unittest.TestCase): |
||
10 | """Test the version information for Python PEP standard""" |
||
11 | |||
12 | def test_version_format(self): |
||
13 | """Test the version number for a PyPi valid format according to PEP 440 |
||
14 | https://www.python.org/dev/peps/pep-0440/ |
||
15 | |||
16 | :return: |
||
17 | """ |
||
18 | # ToDo: check all requirements |
||
19 | self.assertEqual(bool(re.match('\d+.\d+', saucenao_version.__version__)), True) |
||
20 | |||
25 |