From 4fe604e594658d235ec360a29ca0222112fe9fd7 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sat, 11 Jul 2009 14:10:14 -0700 Subject: [PATCH] Correct the tests for afs.acl to match a function rename. Signed-off-by: Evan Broder --- afs/tests/test_acl.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 1.7.9.5