From 70d716622e22fbe16768f960ccce09b6edb0859c 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, 2 insertions(+) diff --git a/tests/testlive_comprehensive.py b/tests/testlive_comprehensive.py index 2ad20c8..ea8562e 100644 --- a/tests/testlive_comprehensive.py +++ b/tests/testlive_comprehensive.py @@ -2098,6 +2098,8 @@ class TestComprehensive(unittest.TestCase): 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(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 self.assertTrue(self.admin_misp_connector.sharing_group_exists(sharing_group))