From f5c4bb7ab219484945834266dfa62401305bca88 Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Tue, 11 Sep 2012 17:26:04 -0400 Subject: [PATCH] tests: Add new registration fields to registration tests. (imported from commit c666e0cf89aaed357bb5bea6f9fbaafc5efffa7c) --- zephyr/tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zephyr/tests.py b/zephyr/tests.py index 02e982f93f..f5ed41595c 100644 --- a/zephyr/tests.py +++ b/zephyr/tests.py @@ -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): """