diff options
author | kohki yamagiwa <tamanobi@gmail.com> | 2022-05-08 18:57:00 +0900 |
---|---|---|
committer | Asif Saif Uddin <auvipy@gmail.com> | 2022-05-15 16:43:31 +0600 |
commit | b14ad85921db2406ecaf5927a8be08a7566c236e (patch) | |
tree | 506dd5b8b44c0ccee9ba8ea85618593475572de2 | |
parent | b123283ba3d41acb3e787fdf68bd5907972b4bad (diff) | |
download | oauthlib-b14ad85921db2406ecaf5927a8be08a7566c236e.tar.gz |
chore: s/bode_code_verifier/body_code_verifier/g
-rw-r--r-- | tests/oauth2/rfc6749/clients/test_web_application.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/oauth2/rfc6749/clients/test_web_application.py b/tests/oauth2/rfc6749/clients/test_web_application.py index f6b9449..7a71121 100644 --- a/tests/oauth2/rfc6749/clients/test_web_application.py +++ b/tests/oauth2/rfc6749/clients/test_web_application.py @@ -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" @@ -115,7 +115,7 @@ class WebApplicationClientTest(TestCase): # 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) |