summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipsilon/login/authtest.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/ipsilon/login/authtest.py b/ipsilon/login/authtest.py
index d7a49d8..7fc4160 100644
--- a/ipsilon/login/authtest.py
+++ b/ipsilon/login/authtest.py
@@ -32,7 +32,12 @@ class TestAuth(LoginFormBase):
if username and password:
if password == 'ipsilon':
cherrypy.log("User %s successfully authenticated." % username)
- testdata = {'fullname': 'Test User %s' % username}
+ testdata = {
+ 'givenname': 'Test User',
+ 'surname': username,
+ 'fullname': 'Test User %s' % username,
+ 'email': '%s@example.com' % username
+ }
return self.lm.auth_successful(self.trans,
username, 'password', testdata)
else: