def test_acl_group(self):
        annotation = Annotation({
            'permissions': {
                'read': ['group:lulapalooza'],
            }
        })
        actual = annotation.__acl__()
        expect = [(security.Allow, 'group:lulapalooza', 'read'), security.DENY_ALL]
        assert actual == expect
dataset/ETHPy150Open hypothesis/h/h/api/models/test/elastic_test.py/TestAnnotation.test_acl_group/original