chg: [tests] subversion are supported

pull/835/head
Alexandre Dulaunoy 2022-03-17 09:22:39 +01:00
parent 94a65c578a
commit c5646d7463
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 1 additions and 1 deletions

View File

@ -2033,7 +2033,7 @@ class TestComprehensive(unittest.TestCase):
self.assertIn(typ, remote_types)
def test_versions(self):
self.assertIn(self.user_misp_connector.version, self.user_misp_connector.pymisp_version_master)
self.assertTrue(self.user_misp_connector.version in 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'])