-
Decorating a Django `TestCase` with a *call* to `httpretty.activate` (e.g. with `allow_net_connect=False`) causes the Django test runner to not find the test case.
I couldn't find any HTTPretty uni…
ghost updated
3 years ago
-
I am emulating a timeout per [here](https://httpretty.readthedocs.io/en/latest/guides.html#emulating-timeouts), however when I use this approach with a `requests` [`timeout`](https://docs.python-reque…
-
I am not sure if this feature is already released since #10 is still open. However, "record and playback" is present in the main README, so I gave it a shot.
It seems that HTTP status codes are not…
mhaas updated
3 years ago
-
We should use the same [fluent API](https://www.unmock.io/docs/unmock) as the JS library for defining specs. This is This is similar to HTTPretty and pook with the notable difference that we are gene…
-
Dear httplib2-devs,
it seems like the test-suite of this package (in `python3/httplib2test.py`) is broken, due to the fact that it calls external APIs on servers which do not seem to exist anymore.…
slyon updated
4 years ago
-
We are using httpretty (in the pywbem project) and a few of our test cases should simulate connection issues by raising exceptions. We raise them in httpretty callbacks, e.g.:
```
def socket_104(req…
-
When making multiple requests using a `requests.Session` on Windows, I get the following error:
```
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(10038, 'An operation was atte…
-
[The test checks that we can handle URLs with paths starting with //](https://github.com/gabrielfalcao/HTTPretty/blob/7804c533ec344eeefaacef5340fe479858f7154b/tests/functional/test_requests.py#L949).
…
-
## Background
The `live-test` CLI command supports sending to defined outputs for a rule being tested. By default, this command will *not* mock out any of the outputs and will try to send the test …
-
We are using HTTPretty for testing requests that carry along email addresses. Sometimes email addresses have `+'s` in them which are escaped to `%2B`. When they are being reversed for assertion in HTT…