3
from .oauth import OAuth2Test
6
class AngelOAuth2Test(OAuth2Test):
7
backend_path = 'social_core.backends.angel.AngelOAuth2'
8
user_data_url = 'https://api.angel.co/1/me/'
9
access_token_body = json.dumps({
10
'access_token': 'foobar',
11
'token_type': 'bearer'
13
user_data_body = json.dumps({
14
'facebook_url': 'http://www.facebook.com/foobar',
19
'angellist_url': 'https://angel.co/foobar',
20
'image': 'https://graph.facebook.com/foobar/picture?type=square',
24
'what_ive_built': None,
30
'online_bio_url': None,
33
expected_username = 'foobar'
38
def test_partial_pipeline(self):
39
self.do_partial_pipeline()