python-pytest-httpx

Edit Package python-pytest-httpx
No description set
Refresh
Refresh
Source Files
Filename Size Changed
pytest_httpx-0.26.0-gh.tar.gz 0000028645 28 KB
python-pytest-httpx.changes 0000004867 4.75 KB
python-pytest-httpx.spec 0000001916 1.87 KB
Revision 7 (latest revision is 10)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1124087 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 7)
- update to 0.26.0:
  * Added `proxy_url` parameter which allows matching on proxy
    URL.
  * Requires `httpx`==0.25.\*
  * Added `match_json` parameter which allows matching on JSON
    decoded body (matching against python representation instead
    of bytes).
  * Even if it was never documented as a feature, the
    `match_headers` parameter was not considering header names
    case when matching.
  * Matching on headers does not ignore name case anymore, the
    name must now be cased as sent (as some servers might expect
    a specific case).
  * Add `:Any` type hint to `**matchers` function arguments to
    satisfy strict type checking mode in `pyright`.
  * Python `3.7` and `3.8` are no longer supported.
  * `httpx_mock.add_response` is now returning a new
    `httpx.Response` instance upon each matching request.
    Preventing unnecessary recursion in streams.
Comments 0
openSUSE Build Service is sponsored by