mirror of https://github.com/MISP/PyMISP
chg: [testlive_comprehensive] correct path to access sharing group releasability after edit
parent
379e1ded0a
commit
0bcd293c01
|
@ -2089,6 +2089,8 @@ class TestComprehensive(unittest.TestCase):
|
||||||
# Change releasability
|
# Change releasability
|
||||||
r = self.admin_misp_connector.update_sharing_group({"releasability": "Testing updated"}, sharing_group, pythonify=True)
|
r = self.admin_misp_connector.update_sharing_group({"releasability": "Testing updated"}, sharing_group, pythonify=True)
|
||||||
self.assertEqual(r.releasability, 'Testing updated')
|
self.assertEqual(r.releasability, 'Testing updated')
|
||||||
|
r = self.admin_misp_connector.update_sharing_group({"releasability": "Testing updated"}, sharing_group)
|
||||||
|
self.assertEqual(r['SharingGroup']['releasability'], 'Testing updated')
|
||||||
|
|
||||||
# Test `sharing_group_exists` method
|
# Test `sharing_group_exists` method
|
||||||
self.assertTrue(self.admin_misp_connector.sharing_group_exists(sharing_group))
|
self.assertTrue(self.admin_misp_connector.sharing_group_exists(sharing_group))
|
||||||
|
|
Loading…
Reference in New Issue