From e40a62cecc9e8d4192bedb3ddcd091554051ab7f Mon Sep 17 00:00:00 2001 From: juanifioren Date: Fri, 20 Feb 2015 14:33:18 -0300 Subject: [PATCH] Add doc to tests. --- README.rst | 4 +++- oidc_provider/tests/test_authorization_code_flow.py | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 69e8f57..fa3719b 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,9 @@ Django OIDC Provider #################### -OpenID Connect Provider implementation for Django. Read docs for more info. https://github.com/juanifioren/django-oidc-provider/wiki +OpenID Connect Provider implementation for Django. + +Read docs for more info. https://github.com/juanifioren/django-oidc-provider/wiki ************* Running tests diff --git a/oidc_provider/tests/test_authorization_code_flow.py b/oidc_provider/tests/test_authorization_code_flow.py index 8de1662..8d118bf 100644 --- a/oidc_provider/tests/test_authorization_code_flow.py +++ b/oidc_provider/tests/test_authorization_code_flow.py @@ -99,6 +99,13 @@ class AuthorizationCodeFlowTestCase(TestCase): self.assertEqual(is_next_ok, True) def test_authorize_user_consent(self): + """ + Once the End-User is authenticated, the Authorization Server MUST + obtain an authorization decision before releasing information to + the Client. + + See: http://openid.net/specs/openid-connect-core-1_0.html#Consent + """ response_type = 'code' url = self._create_authorize_url(response_type=response_type)