Colin-b / pytest_httpx

pytest fixture to mock HTTPX
https://colin-b.github.io/pytest_httpx/
MIT License
344 stars 32 forks source link

Allow to add responses based on a file content #114

Open Colin-b opened 1 year ago

Colin-b commented 1 year ago

This will allow to replay #113 and have the side effect of letting users have responses in files instead of in python tests (especially useful in case of heavy amount of responses or even huge payloads). Argument parsing should be intelligent enough to allow every existing parameter to date (and be generic in some way?)