Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typo in test #816

Merged
merged 1 commit into from May 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/oauth2/rfc6749/clients/test_web_application.py
Expand Up @@ -45,7 +45,7 @@ class WebApplicationClientTest(TestCase):

body_code = "not=empty&grant_type=authorization_code&code={}&client_id={}".format(code, client_id)
body_redirect = body_code + "&redirect_uri=http%3A%2F%2Fmy.page.com%2Fcallback"
bode_code_verifier = body_code + "&code_verifier=code_verifier"
body_code_verifier = body_code + "&code_verifier=code_verifier"
body_kwargs = body_code + "&some=providers&require=extra+arguments"

response_uri = "https://client.example.com/cb?code=zzzzaaaa&state=xyz"
Expand Down Expand Up @@ -115,7 +115,7 @@ def test_request_body(self):

# With code verifier
body = client.prepare_request_body(body=self.body, code_verifier=self.code_verifier)
self.assertFormBodyEqual(body, self.bode_code_verifier)
self.assertFormBodyEqual(body, self.body_code_verifier)

# With extra parameters
body = client.prepare_request_body(body=self.body, **self.kwargs)
Expand Down