'Stage two of the two-step registration process.
If things are working correctly the account should be fully
registered after this call.
You can pass the HTTP_HOST variable for subdomains via kwargs.'

def submit_reg_form_for_user(self, email, password, realm_name='Zulip    Test', realm_subdomain='zuliptest', from_confirmation='', full_name=None, timezone=u'', **kwargs):

    if (full_name is None):
        full_name = email.replace('@', '_')
    return self.client_post('/accounts/register/', {'full_name': full_name, 'password': password, 'realm_name': realm_name, 'realm_subdomain': realm_subdomain, 'key': find_key_by_email(email), 'timezone': timezone, 'terms': True, 'from_confirmation': from_confirmation}, **kwargs)
