From ee8e9398daf05f88c79c2014a7fe29eb776e39b5 Mon Sep 17 00:00:00 2001 From: iglocska Date: Tue, 27 Jul 2021 13:47:14 +0200 Subject: [PATCH] chg: [testlive_comprehensive] correct path to access sharing group releasability after edit --- tests/testlive_comprehensive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testlive_comprehensive.py b/tests/testlive_comprehensive.py index 4e73e80..3cafc5a 100644 --- a/tests/testlive_comprehensive.py +++ b/tests/testlive_comprehensive.py @@ -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))