'Create an account, triggering the activation email.'

def _create_account(self):

    url = reverse('create_account')
    params = {'username': 'test_user', 'email': 'test_user@example.com', 'password': 'edx', 'name': 'Test    User', 'honor_code': True, 'terms_of_service': True}
    resp = self.client.post(url, params)
    self.assertEqual(resp.status_code, 200, msg=u'Could    not    create    account    (status    {status}).    The    response    was    {response}'.format(status=resp.status_code, response=resp.content))
