]> git.ipfire.org Git - thirdparty/httpx.git/commit
Better test case consistency. Prefer `import httpx` and `httpx.Client`. (#1222)
authorTom Christie <tom@tomchristie.com>
Wed, 26 Aug 2020 13:10:23 +0000 (14:10 +0100)
committerGitHub <noreply@github.com>
Wed, 26 Aug 2020 13:10:23 +0000 (14:10 +0100)
commit28c72050e0602481b294231fc9006609763cd612
tree43426a254127437cf020b8288a88dfb490c72ac2
parent534400ee42ad9b974a34d3b6b135fd7913561df8
Better test case consistency. Prefer `import httpx` and `httpx.Client`. (#1222)

* Prefer httpx.Client over httpx.AsyncClient in test cases, unless required.

* Prefer httpx.Client in test_headers

* Consistent httpx imports and httpx.Client usage

* Use 'import httpx' consistently in tests. Prefer httpx.Client.
tests/client/test_cookies.py
tests/client/test_headers.py
tests/client/test_properties.py
tests/client/test_proxies.py
tests/client/test_queryparams.py
tests/client/test_redirects.py
tests/models/test_queryparams.py
tests/models/test_responses.py
tests/models/test_url.py