chg: [testlive_comprehensive] correct path to access sharing group releasability after edit

pull/779/head
iglocska 2021-07-27 13:47:14 +02:00
parent 35cefb3889
commit ee8e9398da
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -2089,7 +2089,7 @@ class TestComprehensive(unittest.TestCase):
# Change releasability
r = self.admin_misp_connector.update_sharing_group({"releasability": "Testing updated"}, sharing_group)
self.assertEqual(r.releasability, 'Testing updated')
self.assertEqual(r['SharingGroup']['releasability'], 'Testing updated')
# Test `sharing_group_exists` method
self.assertTrue(self.admin_misp_connector.sharing_group_exists(sharing_group))