Skip to content

Commit

Permalink
Removed random factor from unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Slump committed Mar 3, 2018
1 parent 46b9425 commit 2c2ca4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/keycloak/openid_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ def authorization_url(self, response_type='code', redirect_uri=None,
:return: URL to redirect the resource owner to
:rtype: str
"""
payload = OrderedDict(
response_type=response_type,
client_id=self._client_id
)
payload = OrderedDict()
payload['response_type'] = response_type,
payload['client_id'] = self._client_id

if redirect_uri:
payload['redirect_uri'] = redirect_uri

Expand Down

0 comments on commit 2c2ca4a

Please sign in to comment.