httpx/tests
Kar Petrosyan f8981f3d12
Add the 'proxy' parameter and deprecate 'proxies'. (#2879)
* Add the proxy parameter and deprecate proxies

* Make the Client.proxy and HTTPTransport.proxy types the same

* Update httpx/_transports/default.py

Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>

* Update httpx/_transports/default.py

Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>

* Drop unneeded noqa

* Changelog

* update documentation

* Allow None in mounts

* typos

* Update httpx/_types.py

* Changes proxies to proxy in CLI app

* Add proxy to request function

* Update CHANGELOG.md

Co-authored-by: Tom Christie <tom@tomchristie.com>

* Update docs/troubleshooting.md

Co-authored-by: Tom Christie <tom@tomchristie.com>

* Update docs/troubleshooting.md

Co-authored-by: Tom Christie <tom@tomchristie.com>

* Lint

---------

Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>
2023-12-11 17:55:52 +04:00
..
client Add the 'proxy' parameter and deprecate 'proxies'. (#2879) 2023-12-11 17:55:52 +04:00
fixtures Add NetRCAuth() class. (#2535) 2023-01-12 11:27:46 +00:00
models Allow URLs where username or password contains unescaped '@'. (#2986) 2023-12-07 10:08:14 +00:00
__init__.py Drop RedirectLoop exception (#819) 2020-02-24 10:09:52 +00:00
common.py Use relative tests directory references (#1052) 2020-07-16 16:28:31 +02:00
concurrency.py use # pragma: no cover instead of # pragma: nocover (#2471) 2022-11-29 10:23:18 -06:00
conftest.py Drop private imports in tests/conftest.py (#2569) 2023-02-09 15:54:53 +00:00
test_api.py Typing: enable disallow_untyped_calls (#2479) 2022-12-02 10:47:42 +00:00
test_asgi.py Fix exception suppression in asgi transport (#2669) 2023-05-21 01:17:23 +01:00
test_auth.py Add cookies to the retried request when performing digest authentication. (#2846) 2023-09-15 10:52:11 +01:00
test_config.py Ruff linter: Use the default line-length (#2922) 2023-11-29 13:28:31 +04:00
test_content.py replace pytest-asyncio and pytest-trio with anyio (#2512) 2023-01-02 12:53:30 +00:00
test_decoders.py Inline Brotli samples in tests (#2935) 2023-11-10 15:07:05 +00:00
test_exceptions.py Use ruff instead of flake8, autoflake and isort (#2648) 2023-04-05 12:37:10 +02:00
test_exported_members.py Drop private imports from test_exported_members.py (#2573) 2023-02-09 16:00:27 +00:00
test_main.py Drop private imports from test_main.py (#2574) 2023-02-09 15:50:09 +00:00
test_multipart.py Ruff linter: Use the default line-length (#2922) 2023-11-29 13:28:31 +04:00
test_status_codes.py Typing: enable strict_equality (#2480) 2022-12-02 08:45:28 +00:00
test_timeouts.py replace pytest-asyncio and pytest-trio with anyio (#2512) 2023-01-02 12:53:30 +00:00
test_utils.py Ruff linter: Use the default line-length (#2922) 2023-11-29 13:28:31 +04:00
test_wsgi.py Ensure all WSGITransport environs have a SERVER_PROTOCOL (#2708) 2023-05-19 11:38:18 +01:00