5 assert acl.crights('read') & acl.READ
6 assert acl.crights('read') & acl.LOOKUP
7 assert not acl.crights('read') & acl.WRITE
10 assert acl.ACL.retrieve('/afs/athena.mit.edu/contrib/bitbucket2').pos['system:anyuser'] & acl.WRITE
11 assert acl.ACL.retrieve('/afs/athena.mit.edu/user/t/a/tabbott').neg['yuranlu'] & acl.USR0
13 def test_getCallerAccess():
14 assert acl.getCallerAccess('/afs/athena.mit.edu/contrib/bitbucket2') & acl.WRITE
16 if __name__ == '__main__':