Skip to content

Conversation

@kleptog
Copy link
Contributor

@kleptog kleptog commented Jul 22, 2025

Fixes #727

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Other

Description

It's useful to be able to use the return value of responses.add() for asserts. This patch makes this also work for responses.add_callback().

Related Issues

  • Closes #

PR checklist

Before submitting this pull request, I have done the following:

Added/updated tests?

Current repository has 100% test coverage.

  • Yes
  • No, and this is why:
  • I need help with writing tests

@markstory markstory merged commit f940dc7 into getsentry:master Aug 8, 2025
19 checks passed
@markstory
Copy link
Member

Thank you 🎉

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot match with callback

3 participants