httpx/tests/models
Michał Górny ee24e67180
Fix JSON wrong encoding tests on big endian platforms (#1781)
Fix test_json_without_specified_encoding_*_error tests on big endian
platforms.  The tests wrongly assume that data encoded as "utf-32-be"
can not be decoded as "utf-32".  This is true on little endian platforms
but on big endian platforms "utf-32" is equivalent to "utf-32-be".
To avoid the problem, explicitly decode as "utf-32-le", as this should
trigger the expected exception independently of platform's endianness.
2021-08-05 17:05:38 +01:00
..
__init__.py Tweak test naming 2019-05-17 13:49:24 +01:00
test_cookies.py Add repr to Cookies for displaying available cookies (#1411) 2020-12-03 22:06:42 +01:00
test_headers.py Support header comparisons with dict or list. (#1326) 2020-09-25 12:28:34 +01:00
test_queryparams.py Immutable QueryParams (#1600) 2021-04-26 14:57:02 +01:00
test_requests.py Make Request and Response picklable (#1579) 2021-04-21 11:11:00 +01:00
test_responses.py Fix JSON wrong encoding tests on big endian platforms (#1781) 2021-08-05 17:05:38 +01:00
test_url.py Perform port normalization for http, https, ws, wss, and ftp schemes (#1603) 2021-04-27 14:06:23 +01:00