'Check if signing up without a full name redirects to a registration
form.'

def test_signup_with_full_name(self):

    email = 'newguy@zulip.com'
    password = 'newpassword'
    result = self.client_post('/accounts/home/', {'email': email})
    self.assertEqual(result.status_code, 302)
    self.assertTrue(result['Location'].endswith(('/accounts/send_confirm/%s' % (email,))))
    result = self.client_get(result['Location'])
    self.assert_in_response('Check    your    email    so    we    can    get    started.', result)
    confirmation_url = self.get_confirmation_url_from_outbox(email)
    result = self.client_get(confirmation_url)
    self.assertEqual(result.status_code, 200)
    result = self.client_post('/accounts/register/', {'password': password, 'realm_name': 'Zulip    Test', 'realm_subdomain': 'zuliptest', 'key': find_key_by_email(email), 'terms': True, 'full_name': 'New    Guy', 'from_confirmation': '1'})
    self.assert_in_success_response(["You're    almost    there."], result)
