<s> import json <EOL> from social . p3 import urlencode <EOL> from social . tests . backends . oauth import OAuth1Test , OAuth2Test <EOL> class BaseLinkedinTest ( object ) : <EOL> user_data_url = '<STR_LIT>' '<STR_LIT>' <EOL> expected_username = '<STR_LIT>' <EOL> access_token_body = json . dumps ( { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' <EOL> } ) <EOL> user_data_body = json . dumps ( { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT:id>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' <EOL> } ) <EOL> def test_login ( self ) : <EOL> self . do_login ( ) <EOL> def test_partial_pipeline ( self ) : <EOL> self . do_partial_pipeline ( ) <EOL> class LinkedinOAuth1Test ( BaseLinkedinTest , OAuth1Test ) : <EOL> backend_path = '<STR_LIT>' <EOL> request_token_body = urlencode ( { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT:true>' <EOL> } ) <EOL> class LinkedinOAuth2Test ( BaseLinkedinTest , OAuth2Test ) : <EOL> backend_path = '<STR_LIT>' </s>
