tests: Unbreak registration, which was missing the new TOS field.

Also remove unused fields.

The registration tests should be revamped for our new multi-stage
signup, but for now just get the test suite passing completely.

(imported from commit 481f420cf99341e44e71942ae563e3f9a1270d3e)
This commit is contained in:
Jessica McKellar 2012-11-02 16:13:35 -04:00
parent 605353027e
commit 9eb86df03a
1 changed files with 2 additions and 3 deletions

View File

@ -39,10 +39,9 @@ class AuthedTestCase(TestCase):
self.client.post('/accounts/home/',
{'email': username + '@humbughq.com'})
return self.client.post('/accounts/register/',
{'full_name':username, 'short_name':username,
{'full_name': username, 'password': password,
'key': find_key_by_email(username + '@humbughq.com'),
'username':username, 'password':password,
'domain':'humbughq.com'})
'terms': True})
def get_user_profile(self, email):
"""