1 from distutils
.version
import StrictVersion
as SV
7 class VersionTest(unittest
.TestCase
):
8 def test_module_version_is_a_valid_pep_386_strict_version(self
):
9 SV(minecraft
.__version
__)
11 def test_protocol_version_is_an_int(self
):
12 for version
in minecraft
.SUPPORTED_PROTOCOL_VERSIONS
:
13 self
.assertTrue(type(version
) is int)