Skip to content

Commit

Permalink
new: Test for ACLs in testlive
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Mar 25, 2019
1 parent c888af1 commit a2d5a8a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/testlive_comprehensive.py
Expand Up @@ -1097,6 +1097,11 @@ def test_search_type_event_csv(self):
self.admin_misp_connector.delete_event(second.id)
self.admin_misp_connector.delete_event(third.id)

def test_live_acl(self):
missing_acls = self.admin_misp_connector.get_live_query_acl()
self.assertTrue('response' in missing_acls, msg=missing_acls)
self.assertEqual(missing_acls['response'], [], msg=missing_acls)


if __name__ == '__main__':
unittest.main()

0 comments on commit a2d5a8a

Please sign in to comment.