mirror of https://github.com/MISP/PyMISP
fix: [test] test_sharing_groups again
parent
9db0ddd14d
commit
379e1ded0a
|
@ -2087,7 +2087,7 @@ class TestComprehensive(unittest.TestCase):
|
||||||
self.assertEqual(sharing_group.name, 'Testcases SG')
|
self.assertEqual(sharing_group.name, 'Testcases SG')
|
||||||
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)
|
r = self.admin_misp_connector.update_sharing_group({"releasability": "Testing updated"}, sharing_group, pythonify=True)
|
||||||
self.assertEqual(r.releasability, 'Testing updated')
|
self.assertEqual(r.releasability, 'Testing updated')
|
||||||
|
|
||||||
# Test `sharing_group_exists` method
|
# Test `sharing_group_exists` method
|
||||||
|
|
Loading…
Reference in New Issue