projects
/
invirt/packages/python-afs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix error messages that are actually errno.
[invirt/packages/python-afs.git]
/
afs
/
tests
/
test_acl.py
diff --git
a/afs/tests/test_acl.py
b/afs/tests/test_acl.py
index
385e2ad
..
c6a7338
100644
(file)
--- a/
afs/tests/test_acl.py
+++ b/
afs/tests/test_acl.py
@@
-1,6
+1,9
@@
import nose
import afs.acl as acl
import nose
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
def test_crights():
assert acl.crights('read') & acl.READ
assert acl.crights('read') & acl.LOOKUP