Skip to content

Conversation

@noor-latif
Copy link

@noor-latif noor-latif commented Nov 16, 2025

I got the impression unittest and pytest where used interchangeably, and I figured maybe pytest was more favorable for you guys. I made some suggested refactoring. Maybe the re-factor was a bit large.

Summary

  • drop unittest.TestCase usage in tests/test_oath.py in favor of standalone pytest functions
  • use parametrization for credential parsing, formatting, derivation, and issuer parsing cases to reduce repetition
  • keep expected values identical

⚡Tests seems to succeed like before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant