Merge pull request #771 from JakubOnderka/test-sharing-group-fix

fix: [test] test_sharing_groups again
pull/779/head
Raphaël Vinot 2021-08-05 09:32:57 +02:00 committed by GitHub
commit 77f2f356fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -2088,6 +2088,8 @@ class TestComprehensive(unittest.TestCase):
self.assertEqual(sharing_group.releasability, 'Testing') self.assertEqual(sharing_group.releasability, 'Testing')
# Change releasability # 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) r = self.admin_misp_connector.update_sharing_group({"releasability": "Testing updated"}, sharing_group)
self.assertEqual(r['SharingGroup']['releasability'], 'Testing updated') self.assertEqual(r['SharingGroup']['releasability'], 'Testing updated')