Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix OAuth2 expired token tests#47

Merged
aaronfriedman6 merged 1 commit intomainNYPL/python-utils:mainfrom
fix-oauth2-testsNYPL/python-utils:fix-oauth2-testsCopy head branch name to clipboard
Aug 29, 2025
Merged

Fix OAuth2 expired token tests#47
aaronfriedman6 merged 1 commit intomainNYPL/python-utils:mainfrom
fix-oauth2-testsNYPL/python-utils:fix-oauth2-testsCopy head branch name to clipboard

Conversation

@aaronfriedman6
Copy link
Contributor

One test was intermittently failing because we needed to wait a little longer for the token expiration to go through. The other was failing because (and I assume this was in a recent update, which is why the tests didn't fail locally for everyone) the "expires_in" field was getting automatically removed during token parsing. This ended up being tricky to mock but I think it works now!

@aaronfriedman6 aaronfriedman6 added the Skip-Changelog Ignore the CHANGELOG check label Aug 28, 2025
@aaronfriedman6 aaronfriedman6 merged commit c931322 into main Aug 29, 2025
3 of 4 checks passed
@aaronfriedman6 aaronfriedman6 deleted the fix-oauth2-tests branch August 29, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip-Changelog Ignore the CHANGELOG check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.