Skip to content

Conversation

@DouweM
Copy link
Collaborator

@DouweM DouweM commented Aug 27, 2025

@github-actions
Copy link

github-actions bot commented Aug 27, 2025

Docs Preview

commit: 66c0101
Preview URL: https://f38d18d4-pydantic-ai-previews.pydantic.workers.dev

@Kludex
Copy link
Member

Kludex commented Aug 27, 2025

What if we use https://colin-b.github.io/pytest_httpx/ instead?

I honestly don't think mocking the models itself is the right thing to do because we are testing the models itself.


That said... I'm happier with this than using the cassettes for it.

Please merge this if you don't want to spend more time with it.

@DouweM
Copy link
Collaborator Author

DouweM commented Aug 27, 2025

@Kludex I like the pytest_httpx suggestion, but yeah I want/need to get back to v1 stuff...

@DouweM DouweM merged commit 6e1b330 into main Aug 27, 2025
34 checks passed
@DouweM DouweM deleted the mock-openai-responses branch August 27, 2025 17:45
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.

3 participants