2021-03-18 08:29:31 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-responses: updated to 0.13.1
0.13.1
* Fixed packages not containing type stubs.
0.13.0
* `responses.upsert()` was added. This method will `add()` a response if one
has not already been registered for a URL, or `replace()` an existing
response.
* `responses.registered()` was added. The method allows you to get a list of
the currently registered responses. This formalizes the previously private
`responses.mock._matches` method.
* A more useful `__repr__` has been added to `Response`.
* Error messages have been improved.
|
2020-11-27 20:30:31 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-responses: updated to 0.12.1
0.12.1
* `responses.urlencoded_params_matcher` and `responses.json_params_matcher` now
accept None to match empty requests.
* Fixed imports to work with new `urllib3` versions.
* `request.params` now allows parameters to have multiple values for the same key.
* Improved ConnectionError messages.
|
2020-10-06 07:43:30 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-responses: updated to 0.12.0
0.12.0
- Remove support for Python 3.4.
0.11.0
- Added the `match` parameter to `add()`.
- Added `responses.urlencoded_params_matcher()` and \
`responses.json_params_matcher()`.
|
2020-08-11 08:36:08 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-responses: updated to 0.10.16
0.10.16
- Add a requirements pin to urllib3. This helps prevent broken install states where
cookie usage fails.
|
2020-06-17 08:47:22 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-responses: updated to 0.10.15
0.10.15
- Added `assert_call_count` to improve ergonomics around ensuring a mock was called.
- Fix incorrect handling of paths with query strings.
- Add Python 3.9 support to CI matrix.
|
2020-05-16 20:00:32 by Adam Ciarcinski | Files touched by this commit (9) |
Log message:
pytest from versioned depends
|
2020-04-22 22:21:15 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-responses: updated to 0.10.14
Responses 0.10.14
Version bump to align tags with setup.py
Responses 0.10.13
Improved README examples.
Improved handling of unicode bodies. The inferred content-type for unicode \
bodies is now text/plain; charset=utf-8.
Streamlined querysting matching code.
|
2020-03-03 06:59:30 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-responses: updated to 0.10.12
0.10.12
- Fixed incorrect content-type in `add_callback()` when headers are provided as \
a list of tuples.
|
2020-02-25 10:06:23 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-responses: updated to 0.10.11
0.10.11
- Fixed invalid README formatted.
- Fixed string formatting in error message.
0.10.10
- Added Python 3.8 support
- Remove Python 3.4 from test suite matrix.
- The `response.request` object now has a `params` attribute that contains the \
query string parameters from the request that was captured.
- `add_passthru` now supports `re` pattern objects to match URLs.
- ConnectionErrors raised by responses now include more details on the request \
that was attempted and the mocks registered.
|
2019-12-30 18:51:50 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-responses: updated to 0.10.9
0.10.9
- Fixed regression with `add_callback()` and content-type header.
- Fixed implicit dependency on urllib3>1.23.0
|