From 7f537614039c15012d6b56cd24f54d5d2e58bbaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 5 Aug 2021 10:50:40 +0200 Subject: [PATCH] chg: properly validate update_sharing_group without pythonify --- tests/testlive_comprehensive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testlive_comprehensive.py b/tests/testlive_comprehensive.py index 430c25e..499062a 100644 --- a/tests/testlive_comprehensive.py +++ b/tests/testlive_comprehensive.py @@ -2089,8 +2089,8 @@ class TestComprehensive(unittest.TestCase): # Change releasability r = self.admin_misp_connector.update_sharing_group({"releasability": "Testing updated"}, sharing_group, pythonify=True) 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') + r = self.admin_misp_connector.update_sharing_group({"releasability": "Testing updated - 2"}, sharing_group) + self.assertEqual(r['SharingGroup']['releasability'], 'Testing updated - 2') # Test `sharing_group_exists` method self.assertTrue(self.admin_misp_connector.sharing_group_exists(sharing_group))