Fix: 1.16.5 is erroneously marked as unsupported
[pyCraft.git] / tests / test_version.py
bloba8b203712862c05aef3aa6e6577ae93f4675e284
1 from distutils.version import StrictVersion as SV
2 import unittest
4 import minecraft
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)