Fix social-adatper tests for allauth>=0.25.0

See 742d114abf for more details.

This unfortunately requires bumping up the version to 0.25.0
This commit is contained in:
Christopher Grebs 2016-03-14 13:19:06 +01:00
parent 49ccfe92a9
commit 50087549e8
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ class SocialLoginSerializer(serializers.Serializer):
if not adapter_class: if not adapter_class:
raise serializers.ValidationError(_('Define adapter_class in view')) raise serializers.ValidationError(_('Define adapter_class in view'))
adapter = adapter_class() adapter = adapter_class(request)
app = adapter.get_provider().get_app(request) app = adapter.get_provider().get_app(request)
# More info on code vs access_token # More info on code vs access_token

View File

@ -33,11 +33,11 @@ setup(
'six>=1.9.0', 'six>=1.9.0',
], ],
extras_require={ extras_require={
'with_social': ['django-allauth>=0.24.1'], 'with_social': ['django-allauth>=0.25.0'],
}, },
tests_require=[ tests_require=[
'responses>=0.5.0', 'responses>=0.5.0',
'django-allauth>=0.24.1', 'django-allauth>=0.25.0',
], ],
test_suite='runtests.runtests', test_suite='runtests.runtests',
include_package_data=True, include_package_data=True,