diff --git a/oidc_provider/tests/test_authorize_endpoint.py b/oidc_provider/tests/test_authorize_endpoint.py index 0deffa0..6b8619b 100644 --- a/oidc_provider/tests/test_authorize_endpoint.py +++ b/oidc_provider/tests/test_authorize_endpoint.py @@ -181,9 +181,9 @@ class AuthorizationCodeFlowTestCase(TestCase): # Because user doesn't allow app, SHOULD exists an error parameter # in the query. self.assertEqual('error=' in response['Location'], True, - msg='error param is missing.') + msg='error param is missing in query.') self.assertEqual('access_denied' in response['Location'], True, - msg='access_denied param is missing.') + msg='"access_denied" code is missing in query.') # Simulate user authorization. post_data['allow'] = 'Accept' # Should be the value of the button. @@ -238,4 +238,4 @@ class AuthorizationImplicitFlowTestCase(TestCase): # Simulate that the user is logged. request.user = self.user - response = AuthorizeView.as_view()(request) \ No newline at end of file + response = AuthorizeView.as_view()(request)