tests: Add new registration fields to registration tests.

(imported from commit c666e0cf89aaed357bb5bea6f9fbaafc5efffa7c)
This commit is contained in:
Jessica McKellar 2012-09-11 17:26:04 -04:00
parent 5090a3fb91
commit f5c4bb7ab2
1 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,10 @@ class AuthedTestCase(TestCase):
def register(self, username, password):
return self.client.post('/accounts/register/',
{'username':username, 'password':password, 'domain':'humbughq.com'})
{'full_name':username, 'short_name':username,
'email':username + "@humbughq.com",
'username':username, 'password':password,
'domain':'humbughq.com'})
def get_userprofile(self, username):
"""