Skip to content

Commit

Permalink
chore: s/bode_code_verifier/body_code_verifier/g
Browse files Browse the repository at this point in the history
  • Loading branch information
tamanobi authored and auvipy committed May 15, 2022
1 parent b123283 commit b14ad85
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit b14ad85

Please sign in to comment.