mirror of https://github.com/MISP/PyMISP
fix: [tests] check if the version is a substring as PyMISP might contain sub version
parent
03dc22f959
commit
94a65c578a
|
@ -2033,7 +2033,7 @@ class TestComprehensive(unittest.TestCase):
|
|||
self.assertIn(typ, remote_types)
|
||||
|
||||
def test_versions(self):
|
||||
self.assertEqual(self.user_misp_connector.version, self.user_misp_connector.pymisp_version_master)
|
||||
self.assertIn(self.user_misp_connector.version, self.user_misp_connector.pymisp_version_master)
|
||||
self.assertEqual(self.user_misp_connector.misp_instance_version['version'],
|
||||
self.user_misp_connector.misp_instance_version_master['version'])
|
||||
|
||||
|
|
Loading…
Reference in New Issue