

def test_acl_deny_system_role(self):
    annotation = Annotation({
        'permissions': {
            'read': [security.Everyone],
        },
    })
    actual = annotation.__acl__()
    expect = [security.DENY_ALL]
    assert (actual == expect)

dataset/ETHPy150Open hypothesis/h/h/api/models/test/elastic_test.py TestAnnotation.test_acl_deny_system_role/original