new: Method `update_sharing_group`

pull/779/head
Jakub Onderka 2021-06-22 17:48:53 +02:00 committed by Raphaël Vinot
parent 76ce8d8c38
commit b963c41716
1 changed files with 3 additions and 0 deletions

View File

@ -2096,6 +2096,9 @@ class TestComprehensive(unittest.TestCase):
self.assertTrue(self.admin_misp_connector.sharing_group_exists(sharing_group))
self.assertTrue(self.admin_misp_connector.sharing_group_exists(sharing_group.id))
self.assertTrue(self.admin_misp_connector.sharing_group_exists(sharing_group.uuid))
r = self.admin_misp_connector.update_sharing_group({"releasability": "Testing updated"}, sharing_group)
self.assertEqual(sharing_group.releasability, 'Testing updated')
# add org
r = self.admin_misp_connector.add_org_to_sharing_group(sharing_group,
self.test_org, extend=True)