Skip to content

Conversation

@mikix
Copy link
Contributor

@mikix mikix commented Dec 26, 2024

Checklist

  • Consider if documentation (like in docs/) needs to be updated
  • Consider if tests should be added

@github-actions
Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
3610 3549 98% 98% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: dcbb853 by action🐍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something changed in the json formatting library that something in our stack uses.

Previously, we were passing python objects to respx to return in mock http responses, then expecting a hardcoded number of bytes back - i.e. baking assumptions about the json encoding that would occur behind the scenes into our tests. Whoops.

So now the tests encode json to text themselves and keep track of the size.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was unrelated to the docs change, I'm just using this PR as a convenient place to fix the tests.

@mikix mikix merged commit d7ad78e into main Dec 30, 2024
3 checks passed
@mikix mikix deleted the mikix/jwks-docs branch December 30, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant