Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/simonw/pytest-recording-example
- Owner: simonw
- Created: 2024-03-26T02:55:35.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-26T04:05:40.000Z (8 months ago)
- Last Synced: 2024-10-07T11:54:50.102Z (about 1 month ago)
- Language: Python
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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