issues Search Results · repo:gabrielfalcao/HTTPretty language:Python
Filter by
248 results
(74 ms)248 results
ingabrielfalcao/HTTPretty (press backspace or delete to remove)Problem is that urllib3 now calls into httpretty.core.fakesock.socket.__getattr__ with shutdown, which raises an error
with httpretty.enable(allow_net_connect=False):
________________ ApplicationOAuth.testEnterpriseGetAccessToken ...
EnricoMi
- 1
- Opened on Dec 28, 2024
- #484
I m trying to simulate a request, where the request gets sent, but the connection is remotely closed without a response.
On some servers internally, they d raise a HTTP 444, which would cause it to internally ...
ovianao
- Opened on Nov 22, 2024
- #483
Hi there,
I ve seen some PRs and wanted to create one myself but before doing that I wanted to ask if this repository is still
being actively worked on.
Cheers
kwk
- 3
- Opened on Aug 8, 2024
- #482
We re attempting to mock HTTP responses requested from within a Python thread pool. Is that supported? The following
example suggest it does not work, unfortunately:
import concurrent.futures
import ...
faph
- 1
- Opened on Jan 8, 2024
- #478
from httpretty import HTTPretty
import requests
with HTTPretty.record( image.json , allow_net_connect=True):
requests.get( https://httpbin.org/image/jpeg )
This raises UnicodeDecodeError because ...
samamorgan
- Opened on Nov 30, 2023
- #477
I tried to run tests using tox, but it failed because there is no test target in the Makefile file.
mtelka
- Opened on Nov 15, 2023
- #475
We are switching our project to Python 3.12. We use pytest and httpretty in order to mock some requests. From
Python 3.12 datetime.utcnow is deprecated: https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow ...
kfrydel
- 1
- Opened on Oct 23, 2023
- #474
I m using HTTPretty while setting allow_net_connect=true when calling enable . The problem is that when I call an
unmatched URL it is forwarded to the real endpoint, however the response time is very long ...
kob-aha
- Opened on Oct 2, 2023
- #473
@httpretty.activate
def test_1:
...
def test_2:
...
# if test_1 executed first
with httpretty.enabled(allow_net_connect=False):
# if any api call happened inside test_1 ...
abhinavsp0730
- 1
- Opened on Sep 17, 2023
- #472
====================================================================== [ 37s] ERROR:
tests.functional.test_requests.test_httpretty_should_allow_registering_regexes_with_streaming_responses [ 37s] HTTPretty ...
liyanan1001
- Opened on Aug 2, 2023
- #470

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.