Respx

Latest version: v0.21.1

Safety actively analyzes 630254 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 8

0.7.4

Added

- Allowing assertions to be configured through decorator and context manager. (PR 28)

0.7.3

Added

- Allows `mock` decorator to be used as sync or async context manager. (PR 27)

0.7.2

Added

- Added `stats` to high level API and patterns, along with `call_count`. (PR 25)

Fixed

- Allowing headers to be modified within a pattern match callback. (PR 26)

0.7.1

Fixed

- Fixed responses in call stats when using synchronous `HTTPX` client. (PR 23)

0.7

Added

- Added support for `pass_through` patterns. (PR 20)
- Added `assert_all_mocked` feature and setting. (PR 21)

Changed

- Requires all `HTTPX` requests to be mocked.

0.6

Changed

- Renamed `activate` decorator to `mock`. (PR 15)

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.