Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simonw/pytest-recording-example

Experiments with pytest-recording
https://github.com/simonw/pytest-recording-example

Last synced: 27 days ago
JSON representation

Experiments with pytest-recording

Awesome Lists containing this project

README

        

# pytest-recording-example

I use this repo to figure out patterns to use with [pytest-recording](https://pypi.org/project/pytest-recording/).

See:

- [Initial set of tests](https://github.com/simonw/pytest-recording-example/issues/1) for details on basic setup, to work with `urllib` and `httpx` and `requests`
- [Figure out pattern for recording authenticated API calls](https://github.com/simonw/pytest-recording-example/issues/2) for an example against the Claude 3 authenticated JSON API