Decoy

Latest version: v2.1.1

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

Scan your dependencies

Page 5 of 6

1.5.0

Features

* **pytest_plugin:** add pytest plugin for decoy fixture injection ([26](https://github.com/mcous/decoy/issues/26)) ([3193808](https://github.com/mcous/decoy/commit/3193808)), closes [#25](https://github.com/mcous/decoy/issues/25)
* **verify:** allow specification of exact call count ([27](https://github.com/mcous/decoy/issues/27)) ([f17dd05](https://github.com/mcous/decoy/commit/f17dd05)), closes [#23](https://github.com/mcous/decoy/issues/23)

1.4.0

Bug Fixes

* **typing:** ensure create_decoy typing accepts ABC as spec ([20](https://github.com/mcous/decoy/issues/20)) ([47e328c](https://github.com/mcous/decoy/commit/47e328c))


Features

* **matchers:** add argument captor matcher ([19](https://github.com/mcous/decoy/issues/19)) ([f8c49eb](https://github.com/mcous/decoy/commit/f8c49eb)), closes [#17](https://github.com/mcous/decoy/issues/17)
* **matchers:** add HasAttributes and DictMatching matchers ([21](https://github.com/mcous/decoy/issues/21)) ([0e75094](https://github.com/mcous/decoy/commit/0e75094)), closes [#18](https://github.com/mcous/decoy/issues/18)

1.3.2

Features

* **when:** warn if stub is called with arguments that do not match rehearsals ([16](https://github.com/mcous/decoy/issues/16)) ([f0190e7](https://github.com/mcous/decoy/commit/f0190e7)), closes [#14](https://github.com/mcous/decoy/issues/14)

1.3.1

Reverts

* remove missing stub warning; it's a little broken ([338961e](https://github.com/mcous/decoy/commit/338961e))

1.3.0

Features

* **when:** warn if stub is called with args that do not match ([15](https://github.com/mcous/decoy/issues/15)) ([5fd4e6d](https://github.com/mcous/decoy/commit/5fd4e6d)), closes [#14](https://github.com/mcous/decoy/issues/14)

1.2.0

Bug Fixes

* **spy:** allow spy creation when type hints cannot be resolved ([10](https://github.com/mcous/decoy/issues/10)) ([6bd7f40](https://github.com/mcous/decoy/commit/6bd7f40)), closes [#8](https://github.com/mcous/decoy/issues/8)


Features

* **verify:** allow multiple rehearsals in verify ([11](https://github.com/mcous/decoy/issues/11)) ([0c4206e](https://github.com/mcous/decoy/commit/0c4206e)), closes [#9](https://github.com/mcous/decoy/issues/9)

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.