Skip to content

Commit b14ad85

Browse files
tamanobiauvipy
authored andcommitted
chore: s/bode_code_verifier/body_code_verifier/g
1 parent b123283 commit b14ad85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/oauth2/rfc6749/clients/test_web_application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class WebApplicationClientTest(TestCase):
4545

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

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

116116
# With code verifier
117117
body = client.prepare_request_body(body=self.body, code_verifier=self.code_verifier)
118-
self.assertFormBodyEqual(body, self.bode_code_verifier)
118+
self.assertFormBodyEqual(body, self.body_code_verifier)
119119

120120
# With extra parameters
121121
body = client.prepare_request_body(body=self.body, **self.kwargs)

0 commit comments

Comments
 (0)