Decoy

Latest version: v2.1.1

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

Scan your dependencies

Page 4 of 6

1.6.5

Bug Fixes

* **spy:** match inspect.signature for staticmethods ([51](https://github.com/mcous/decoy/issues/51)) ([f5dc60d](https://github.com/mcous/decoy/commit/f5dc60d))

1.6.4

Bug Fixes

* **spy:** gracefully degrade when a class's type hints can't be resolved at runtime ([47](https://github.com/mcous/decoy/issues/47)) ([81072ed](https://github.com/mcous/decoy/commit/81072ed)), closes [#46](https://github.com/mcous/decoy/issues/46)

1.6.3

Bug Fixes

* **verifier:** do not access out-of-bounds index of calls list ([45](https://github.com/mcous/decoy/issues/45)) ([15389ad](https://github.com/mcous/decoy/commit/15389ad)), closes [#44](https://github.com/mcous/decoy/issues/44)

1.6.2

Bug Fixes

* **warnings:** don't raise MiscalledStubWarning on verified calls ([42](https://github.com/mcous/decoy/issues/42)) ([929df14](https://github.com/mcous/decoy/commit/929df14)), closes [#41](https://github.com/mcous/decoy/issues/41)

1.6.1

Bug Fixes

* officially support Python 3.6 ([40](https://github.com/mcous/decoy/issues/40)) ([2412e62](https://github.com/mcous/decoy/commit/2412e62))

1.6.0

Features

* **when:** add `then_do` API for triggering a callback ([39](https://github.com/mcous/decoy/issues/39)) ([01fb271](https://github.com/mcous/decoy/commit/01fb271)), closes [#31](https://github.com/mcous/decoy/issues/31)
* add `mock` method to replace `create_decoy`, `create_decoy_func` ([37](https://github.com/mcous/decoy/issues/37)) ([d3e0ae9](https://github.com/mcous/decoy/commit/d3e0ae9))
* **spy:** add `inspect.signature` and `repr` support ([35](https://github.com/mcous/decoy/issues/35)) ([0b12237](https://github.com/mcous/decoy/commit/0b12237)), closes [#29](https://github.com/mcous/decoy/issues/29) [#30](https://github.com/mcous/decoy/issues/30)
* **warnings:** add RedundantVerifyWarning ([36](https://github.com/mcous/decoy/issues/36)) ([633159f](https://github.com/mcous/decoy/commit/633159f)), closes [#34](https://github.com/mcous/decoy/issues/34)

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.