chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rights now apply to commands; docs catch up a bit
[disorder]
/
tests
/
user.py
diff --git
a/tests/user.py
b/tests/user.py
index 345fdef41a829b850bfe760727653018a31523c8..b04e2a285fffe3cdeda9d2f76842ded0dc9bce0e 100755
(executable)
--- a/
tests/user.py
+++ b/
tests/user.py
@@
-30,6
+30,8
@@
def test():
users = c.users()
assert dtest.lists_have_same_contents(users,
["fred", "bob", "root"])
users = c.users()
assert dtest.lists_have_same_contents(users,
["fred", "bob", "root"])
+ rights = c.userinfo("bob", "rights")
+ print " new user rights are: %s" % rights
print " checking new user can log in"
c = disorder.client(user="bob", password="bobpass")
c.version()
print " checking new user can log in"
c = disorder.client(user="bob", password="bobpass")
c.version()