Add param to disable verify over non-requested mock.
Closed this issue · 3 comments
Bernardoow commented
I had a scenario where I wanted to all request to be verified about over non-request, but just ONE request I wanted to be free verification.
With this new feature I can achieve this logic.
I created this PR #76.
evbo commented
@Bernardoow I have an internal (behind a firewall) https
endpoint that does no use SSL certs. Am I reading the title of this issue correctly that what you're proposing will configure httpx-pytest
to not use SSL certs (e.g. verify=False
for the httpx client)?
This would be valuable in tests since forgetting verify=False
will completely block operation in production for me.