# -*- coding: utf-8 -*- from __future__ import unicode_literals from allauth.socialaccount.tests import OAuthTestsMixin from allauth.tests import MockedResponse, TestCase from .provider import LinkedInProvider class LinkedInTests(OAuthTestsMixin, TestCase): provider_id = LinkedInProvider.id def get_mocked_response(self): return [ MockedResponse( 200, """ oKmTqN2ffc R@ymØnd Pènnèrs raymond.penners@example.com http://m.c.lnkd.licdn.com/mpr/mprx/0_e0hbvSLc8QWo3ggPeVKqvaFR860d342Pogq4vakwx8IJOyR1XJrwRmr5mIx9C0DxWpGMsW9Lb8EQ http://www.linkedin.com/in/intenct """, ) ]