├── .flake8 ├── .github └── workflows │ └── pyenv.yml ├── .gitignore ├── .release ├── COPYING ├── FUNDING.yml ├── MANIFEST.in ├── Makefile ├── README.rst ├── circle.yml ├── development.txt ├── docs ├── Makefile ├── make.bat └── source │ ├── _static │ ├── guide-callback-regex-ipdb.py │ ├── logo.svg │ ├── read-timeout.py │ ├── regex-example.py │ └── tmplun_dcms-ascii.cast │ ├── acks.rst │ ├── api.rst │ ├── changelog.rst │ ├── conf.py │ ├── contributing.rst │ ├── guides.rst │ ├── index.rst │ └── introduction.rst ├── httpretty ├── __init__.py ├── compat.py ├── core.py ├── errors.py ├── http.py ├── utils.py └── version.py ├── renovate.json ├── requirements.txt ├── setup.cfg ├── setup.py ├── tests ├── __init__.py ├── bugfixes │ ├── nosetests │ │ ├── __init__.py │ │ ├── test_242_ssl_bad_handshake.py │ │ ├── test_387_regex_port.py │ │ ├── test_388_unmocked_error_with_url.py │ │ ├── test_413_regex.py │ │ ├── test_414_httpx.py │ │ ├── test_416_boto3.py │ │ ├── test_417_openssl.py │ │ ├── test_425_latest_requests.py │ │ ├── test_430_respect_timeout.py │ │ ├── test_eventlet.py │ │ ├── test_redis.py │ │ └── test_tornado_bind_unused_port.py │ └── pytest │ │ └── test_426_mypy_segfault.py ├── compat.py ├── functional │ ├── __init__.py │ ├── base.py │ ├── fixtures │ │ ├── .placeholder │ │ └── playback-1.json │ ├── test_bypass.py │ ├── test_debug.py │ ├── test_decorator.py │ ├── test_fakesocket.py │ ├── test_httplib2.py │ ├── test_passthrough.py │ ├── test_requests.py │ ├── test_urllib2.py │ └── testserver.py ├── pyopenssl │ ├── __init__.py │ └── test_mock.py └── unit │ ├── __init__.py │ ├── test_core.py │ ├── test_http.py │ ├── test_httpretty.py │ └── test_main.py └── tox.ini /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/workflows/pyenv.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/.github/workflows/pyenv.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/.gitignore -------------------------------------------------------------------------------- /.release: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/.release -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/COPYING -------------------------------------------------------------------------------- /FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: ["https://xscode.com/gabrielfalcao/HTTPretty"] 2 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/README.rst -------------------------------------------------------------------------------- /circle.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/circle.yml -------------------------------------------------------------------------------- /development.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/development.txt -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/source/_static/guide-callback-regex-ipdb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/_static/guide-callback-regex-ipdb.py -------------------------------------------------------------------------------- /docs/source/_static/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/_static/logo.svg -------------------------------------------------------------------------------- /docs/source/_static/read-timeout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/_static/read-timeout.py -------------------------------------------------------------------------------- /docs/source/_static/regex-example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/_static/regex-example.py -------------------------------------------------------------------------------- /docs/source/_static/tmplun_dcms-ascii.cast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/_static/tmplun_dcms-ascii.cast -------------------------------------------------------------------------------- /docs/source/acks.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/acks.rst -------------------------------------------------------------------------------- /docs/source/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/api.rst -------------------------------------------------------------------------------- /docs/source/changelog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/changelog.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/contributing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/contributing.rst -------------------------------------------------------------------------------- /docs/source/guides.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/guides.rst -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/introduction.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/docs/source/introduction.rst -------------------------------------------------------------------------------- /httpretty/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/httpretty/__init__.py -------------------------------------------------------------------------------- /httpretty/compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/httpretty/compat.py -------------------------------------------------------------------------------- /httpretty/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/httpretty/core.py -------------------------------------------------------------------------------- /httpretty/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/httpretty/errors.py -------------------------------------------------------------------------------- /httpretty/http.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/httpretty/http.py -------------------------------------------------------------------------------- /httpretty/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/httpretty/utils.py -------------------------------------------------------------------------------- /httpretty/version.py: -------------------------------------------------------------------------------- 1 | version = '1.1.4' 2 | -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/renovate.json -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_242_ssl_bad_handshake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_242_ssl_bad_handshake.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_387_regex_port.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_387_regex_port.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_388_unmocked_error_with_url.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_388_unmocked_error_with_url.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_413_regex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_413_regex.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_414_httpx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_414_httpx.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_416_boto3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_416_boto3.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_417_openssl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_417_openssl.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_425_latest_requests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_425_latest_requests.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_430_respect_timeout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_430_respect_timeout.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_eventlet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_eventlet.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_redis.py -------------------------------------------------------------------------------- /tests/bugfixes/nosetests/test_tornado_bind_unused_port.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/nosetests/test_tornado_bind_unused_port.py -------------------------------------------------------------------------------- /tests/bugfixes/pytest/test_426_mypy_segfault.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/bugfixes/pytest/test_426_mypy_segfault.py -------------------------------------------------------------------------------- /tests/compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/compat.py -------------------------------------------------------------------------------- /tests/functional/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/__init__.py -------------------------------------------------------------------------------- /tests/functional/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/base.py -------------------------------------------------------------------------------- /tests/functional/fixtures/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/functional/fixtures/playback-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/fixtures/playback-1.json -------------------------------------------------------------------------------- /tests/functional/test_bypass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/test_bypass.py -------------------------------------------------------------------------------- /tests/functional/test_debug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/test_debug.py -------------------------------------------------------------------------------- /tests/functional/test_decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/test_decorator.py -------------------------------------------------------------------------------- /tests/functional/test_fakesocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/test_fakesocket.py -------------------------------------------------------------------------------- /tests/functional/test_httplib2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/test_httplib2.py -------------------------------------------------------------------------------- /tests/functional/test_passthrough.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/test_passthrough.py -------------------------------------------------------------------------------- /tests/functional/test_requests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/test_requests.py -------------------------------------------------------------------------------- /tests/functional/test_urllib2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/test_urllib2.py -------------------------------------------------------------------------------- /tests/functional/testserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/functional/testserver.py -------------------------------------------------------------------------------- /tests/pyopenssl/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/pyopenssl/__init__.py -------------------------------------------------------------------------------- /tests/pyopenssl/test_mock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/pyopenssl/test_mock.py -------------------------------------------------------------------------------- /tests/unit/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/unit/__init__.py -------------------------------------------------------------------------------- /tests/unit/test_core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/unit/test_core.py -------------------------------------------------------------------------------- /tests/unit/test_http.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/unit/test_http.py -------------------------------------------------------------------------------- /tests/unit/test_httpretty.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/unit/test_httpretty.py -------------------------------------------------------------------------------- /tests/unit/test_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tests/unit/test_main.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielfalcao/HTTPretty/HEAD/tox.ini --------------------------------------------------------------------------------