Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fitzy1321/mock-aiohttp
Reusable mock for testing aiohttp.ClientSession
https://github.com/fitzy1321/mock-aiohttp
Last synced: about 7 hours ago
JSON representation
Reusable mock for testing aiohttp.ClientSession
- Host: GitHub
- URL: https://github.com/fitzy1321/mock-aiohttp
- Owner: fitzy1321
- License: mit
- Created: 2023-01-11T05:10:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T07:59:12.000Z (almost 2 years ago)
- Last Synced: 2024-11-13T22:12:11.883Z (6 days ago)
- Language: Python
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mock-aiohttp
Attempting to create a reusable mock for testing with `aiohttp.ClientSession()`.
> ⚠️ This project is still under development. Expect breaking changes.
## Notes
MVP:
- [ ] Make reusable pytest plugin / fixture / mock / thing for mocking aiohttp.ClientSession
- [ ] Figure out github to pypi release strategy
- [ ] Test it. Repeatidly.## Installation
```sh
pip install mock-aiohttp
```Currently, this won't do anything. I'm still learning how to make pytest fixtures.
## Development
Git clone this repo, then use `poetry install`