mirror of https://github.com/MISP/PyMISP
Merge pull request #771 from JakubOnderka/test-sharing-group-fix
fix: [test] test_sharing_groups againpull/779/head
commit
77f2f356fc
|
@ -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')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue