httpx/tests
Adrian Garcia Badaracco 1b4e7fbb48
Typing: always fill in generic type parameters (#2468)
* Typing: always fill in generic type parameters

Being explicit about the parameters helps find bugs and makes the library
easier to use for users.

- Tell mypy to disallow generics without parameter values
- Give all generic types parameters values

* fix things that aren't coming in from other commits

* lint

Co-authored-by: Martijn Pieters <mj@zopatista.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
2022-11-29 16:36:03 +00:00
..
client Typing: always fill in generic type parameters (#2468) 2022-11-29 16:36:03 +00:00
fixtures Use relative tests directory references (#1052) 2020-07-16 16:28:31 +02:00
models use # pragma: no cover instead of # pragma: nocover (#2471) 2022-11-29 10:23:18 -06: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 use # pragma: no cover instead of # pragma: nocover (#2471) 2022-11-29 10:23:18 -06:00
test_api.py Fix for stream uploads that subclass SyncByteStream/AsyncByteStream (#2016) 2022-01-06 14:06:35 +00:00
test_asgi.py Transport API as plain request -> response method. (#1840) 2021-09-13 13:34:46 +01:00
test_auth.py Add support for sync-specific or async-specific auth flows (#1217) 2020-09-09 14:37:20 +01:00
test_config.py use # pragma: no cover instead of # pragma: nocover (#2471) 2022-11-29 10:23:18 -06:00
test_content.py use # pragma: no cover instead of # pragma: nocover (#2471) 2022-11-29 10:23:18 -06:00
test_decoders.py Make charset auto-detection optional. (#2165) 2022-05-23 16:27:32 +01:00
test_exceptions.py use # pragma: no cover instead of # pragma: nocover (#2471) 2022-11-29 10:23:18 -06:00
test_exported_members.py Add exported members test (#1179) 2020-08-15 12:24:26 +02:00
test_main.py Suppress binary output on the command line (#2049) (#2076) 2022-02-09 15:40:39 +00:00
test_multipart.py Drop multipart requirement from tests (#2456) 2022-11-21 10:29:31 +00:00
test_status_codes.py Escalate 0.17 deprecation warnings to becoming fully deprecated. (#1597) 2021-04-26 11:03:11 +01:00
test_timeouts.py Version 0.21 (#1935) 2021-11-15 14:30:54 +00:00
test_utils.py Preserve Authorization header on HTTPS redirect (#1850) (#2074) 2022-02-09 11:18:21 +00:00
test_wsgi.py BUG: wsgi.error should be TextIO, not BytesIO in WSGI transport (#1828) 2021-09-07 15:44:35 +01:00
utils.py Add httpx.MockTransport() (#1401) 2021-01-06 11:04:26 +00:00