X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/f0feb22e80bfe438c16d212a7cc8be6d2282b6ac..5df73aebf27f6c3b57a91ecfd504fa6ee367d20a:/tests/user.py diff --git a/tests/user.py b/tests/user.py index 8c13232..13bee66 100755 --- 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 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")