Skip to content

Conversation

@olzhasar-reef
Copy link
Collaborator

  • Add responses library for mocking requests in tests
  • Redesign b2http unit tests using responses library
  • Update liccheck authorized_licenses
  • Fix type error in 429 retrying behavior with Retry-After header

@olzhasar-reef olzhasar-reef force-pushed the refactor-b2http-tests branch 2 times, most recently from 91a2e9e to 118e982 Compare December 5, 2025 20:54
Avoid testing internal methods
Convert tests cases to pytest style
Use sentry responses for mocking out requests instead of relying on
magic mocks
@olzhasar-reef olzhasar-reef merged commit c159384 into Backblaze:master Dec 10, 2025
66 of 72 checks passed
@olzhasar-reef olzhasar-reef deleted the refactor-b2http-tests branch December 10, 2025 20:39
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.

2 participants