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

Add tests for PKCE generation #27

Open
lilioid opened this issue Sep 30, 2024 · 0 comments
Open

Add tests for PKCE generation #27

lilioid opened this issue Sep 30, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@lilioid
Copy link
Member

lilioid commented Sep 30, 2024

The code contained in pkce.py has only manually been tested.
We should add unit-tests in our tests/ directory for it.

The following tests should at least be implemented:

  • get_code_challenge() from a known value returns the expected result
  • When calling generate_pkce_pair(), using get_code_challenge() from the returned verifier results in the same challange as the original gnerate_pkce_pair() returned.
@lilioid lilioid added the good first issue Good for newcomers label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant