Decoy

Latest version: v2.1.1

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

Scan your dependencies

Page 3 of 6

1.10.0

Bug Fixes

* **spy:** ensure class signature uses `__call__` ([120](https://github.com/mcous/decoy/issues/120)) ([6a73b14](https://github.com/mcous/decoy/commit/6a73b14))


Features

* add property mocking ([121](https://github.com/mcous/decoy/issues/121)) ([5ee2de7](https://github.com/mcous/decoy/commit/5ee2de7))

1.9.0

Features

* **when:** add ContextManager mocking support ([93](https://github.com/mcous/decoy/issues/93)) ([22bf2fb](https://github.com/mcous/decoy/commit/22bf2fb))

1.8.0

Bug Fixes

* **matchers:** use isinstance() for matchers.IsA rather than type() ([88](https://github.com/mcous/decoy/issues/88)) ([be6c780](https://github.com/mcous/decoy/commit/be6c780))
* fix name argument type anotation in Decoy.mock ([1a59098](https://github.com/mcous/decoy/commit/1a59098))
* **matchers:** ensure ErrorMatching return type matches spec ([86](https://github.com/mcous/decoy/issues/86)) ([c60af56](https://github.com/mcous/decoy/commit/c60af56))


Features

* allow spec-less mocks to be named ([85](https://github.com/mcous/decoy/issues/85)) ([dbc4813](https://github.com/mcous/decoy/commit/dbc4813)), closes [#79](https://github.com/mcous/decoy/issues/79)
* match args leniently according to spec signature ([89](https://github.com/mcous/decoy/issues/89)) ([fbbe941](https://github.com/mcous/decoy/commit/fbbe941)), closes [#78](https://github.com/mcous/decoy/issues/78)

1.7.0

Bug Fixes

* **verify:** improve verify traceback and error messages ([66](https://github.com/mcous/decoy/issues/66)) ([9e74b36](https://github.com/mcous/decoy/commit/9e74b36))


Features

* allow extra arguments to be ignored ([61](https://github.com/mcous/decoy/issues/61)) ([d1ba0d3](https://github.com/mcous/decoy/commit/d1ba0d3)), closes [#60](https://github.com/mcous/decoy/issues/60)

1.6.7

Bug Fixes

* **verify:** ensure verify with times respects rehearsal args ([57](https://github.com/mcous/decoy/issues/57)) ([af39c43](https://github.com/mcous/decoy/commit/af39c43))

1.6.6

Bug Fixes

* **call_stack:** match spy IDs in get_by_rehearsals ([55](https://github.com/mcous/decoy/issues/55)) ([8845b5b](https://github.com/mcous/decoy/commit/8845b5b)), closes [#54](https://github.com/mcous/decoy/issues/54)

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.