chiark / gitweb /
rights now apply to commands; docs catch up a bit
[disorder] / tests / user.py
index 345fdef41a829b850bfe760727653018a31523c8..b04e2a285fffe3cdeda9d2f76842ded0dc9bce0e 100755 (executable)
@@ -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()