From 9eb86df03aab737e2709fbfb5e31272bcd34fa5d Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Fri, 2 Nov 2012 16:13:35 -0400 Subject: [PATCH] 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) --- zephyr/tests.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zephyr/tests.py b/zephyr/tests.py index 22c01785f9..15e44c8f76 100644 --- a/zephyr/tests.py +++ b/zephyr/tests.py @@ -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): """