def assert_allowed(self, context, perm, principals):
        allowed = self.allowed(context, perm)
        self.assertEqual(allowed, set(principals))
Assert that only a particular set of principals has access
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/BaseACLTest.assert_allowed