Skip to content

Commit

Permalink
Merge pull request #1222 from agriffis/one-more-oauth2testsmixin
Browse files Browse the repository at this point in the history
Switch angellist tests to OAuth2TestsMixin.
  • Loading branch information
pennersr committed Dec 7, 2015
2 parents 18a7a67 + 885d769 commit a53ab81
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions allauth/socialaccount/providers/angellist/tests.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from allauth.socialaccount.tests import create_oauth2_tests
from allauth.tests import MockedResponse
from allauth.socialaccount.providers import registry
from allauth.socialaccount.tests import OAuth2TestsMixin
from allauth.tests import MockedResponse, TestCase

from .provider import AngelListProvider


class AngelListTests(create_oauth2_tests(registry
.by_id(AngelListProvider.id))):
class AngelListTests(OAuth2TestsMixin, TestCase):
provider_id = AngelListProvider.id

def get_mocked_response(self):
return MockedResponse(200, """
{"name":"pennersr","id":424732,"bio":"","follower_count":0,
Expand Down

0 comments on commit a53ab81

Please sign in to comment.