def test_version(self): version_str = botan2.version_string() self.assertTrue(version_str.startswith('Botan ')) self.assertEqual(botan2.version_major(), 2) self.assertGreaterEqual(botan2.version_minor(), 8) self.assertGreaterEqual(botan2.ffi_api_version(), 20180713)
def test_version(self): version_str = botan2.version_string() self.assertTrue(version_str.startswith('Botan ')) self.assertEqual(botan2.version_major(), 2) self.assertTrue(botan2.version_minor() >= 8) self.assertTrue(botan2.ffi_api_version() >= 20180713)
def test_version(): print("\n%s" % botan2.version_string()) print("v%d.%d.%d\n" % (botan2.version_major(), botan2.version_minor(), botan2.version_patch())) print("\nPython %s\n" % sys.version.replace('\n', ' '))
def test_version(self): version_str = botan2.version_string() self.assertTrue(version_str.startswith('Botan ')) self.assertEqual(botan2.version_major(), 2) self.assertTrue(botan2.version_minor() >= 8)