Add tests

This commit is contained in:
Richard Berger
2020-09-16 10:11:00 -04:00
parent 38f0a2e24c
commit ca24806f4c
4 changed files with 59 additions and 2 deletions

View File

@ -28,6 +28,9 @@ class PythonCapabilities(unittest.TestCase):
def tearDown(self):
del self.lmp
def test_version(self):
self.assertGreaterEqual(self.lmp.version(), 20200824)
def test_has_gzip_support(self):
self.assertEqual(self.lmp.has_gzip_support, self.cmake_cache['WITH_GZIP'])