chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
userinfo/edituser implementation
[disorder]
/
tests
/
user.py
diff --git
a/tests/user.py
b/tests/user.py
index 8c1323282f75c995cb007834e2df961d3ba7669e..13bee66109ea0c7ef5a7a3b8d1ca9922d723bb15 100755
(executable)
--- a/
tests/user.py
+++ b/
tests/user.py
@@
-30,6
+30,10
@@
def test():
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()
+ print " checking bob can set their email address"
+ c.edituser("bob", "email", "foo@bar")
+ email = c.userinfo("bob", "email")
+ assert email == "foo@bar", "checking bob's email address"
print " checking user deletion"
c = disorder.client()
c.deluser("bob")
print " checking user deletion"
c = disorder.client()
c.deluser("bob")