'Test that there is an error and account is not created
when request is made for account creation using third (Google, Facebook etc) party with pipeline
getting expired using browser (not mobile application).
NOTE: We are NOT using actual pipeline here so pipeline is always expired in this environment.
we don\'t have to explicitly expire pipeline.'

def test_expired_pipeline(self):

    data = self.data()
    data.pop('provider')
    data.update({'social_auth_provider': 'Google'})
    response = self.client.post(self.url, data)
    self._assert_third_party_session_expired_error(response, u'Registration    using    {provider}    has    timed    out.'.format(provider='Google'))
    self._verify_user_existence(user_exists=False, social_link_exists=False)
