From 46f57ae7f2e88e9f68ddf3a5d037ef7bdddefd74 Mon Sep 17 00:00:00 2001 From: juanifioren Date: Thu, 12 Mar 2015 12:42:52 -0300 Subject: [PATCH] Unnecessary assignment in test_authorize_endpoint. --- oidc_provider/tests/test_authorize_endpoint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oidc_provider/tests/test_authorize_endpoint.py b/oidc_provider/tests/test_authorize_endpoint.py index e06bc16..4946f0a 100644 --- a/oidc_provider/tests/test_authorize_endpoint.py +++ b/oidc_provider/tests/test_authorize_endpoint.py @@ -1,4 +1,5 @@ import urllib +import uuid from django.contrib.auth import REDIRECT_FIELD_NAME from django.contrib.auth.models import AnonymousUser @@ -160,7 +161,6 @@ class AuthorizationCodeFlowTestCase(TestCase): by adding them as query parameters to the redirect_uri. """ response_type = 'code' - scope = 'openid email' url = reverse('oidc_provider:authorize') @@ -168,7 +168,7 @@ class AuthorizationCodeFlowTestCase(TestCase): 'client_id': self.client.client_id, 'redirect_uri': self.client.default_redirect_uri, 'response_type': response_type, - 'scope': scope, + 'scope': 'openid email', 'state': self.state, }