X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-afs.git/blobdiff_plain/10715f8c0ce6de0a4cf85100770b457d03fd2d0b..7a3774dc788a78b27755a915b646fcc26404bf20:/afs/tests/test_acl.py diff --git a/afs/tests/test_acl.py b/afs/tests/test_acl.py index c6a7338..aa4d1ae 100644 --- a/afs/tests/test_acl.py +++ b/afs/tests/test_acl.py @@ -4,10 +4,10 @@ import afs.acl as acl def test_showRights(): assert acl.showRights(acl.READ | acl.WRITE) == "rw" -def test_crights(): - assert acl.crights('read') & acl.READ - assert acl.crights('read') & acl.LOOKUP - assert not acl.crights('read') & acl.WRITE +def test_readRights(): + assert acl.readRights('read') & acl.READ + assert acl.readRights('read') & acl.LOOKUP + assert not acl.readRights('read') & acl.WRITE def test_retrieve(): assert acl.ACL.retrieve('/afs/athena.mit.edu/contrib/bitbucket2').pos['system:anyuser'] & acl.WRITE