Releases: mcous/decoy
Releases · mcous/decoy
v1.10.2
Bug Fixes
spy: handle properties that return primitive types (#132 ) (6eebc5a )
warnings: point to correct docs link in RedundantVerifyWarning (488eeec )
v1.10.1
Bug Fixes
warnings: do not trigger MiscalledStubWarnings from prop events (#126 ) (396eae2 ), closes #125
when: fix type overloads of then_enter_with
on mypy v0.941 (#124 ) (5db349b )
v1.10.0
Bug Fixes
spy: ensure class signature uses __call__
(#120 ) (6a73b14 )
Features
v1.9.0
Features
when: add ContextManager mocking support (#93 ) (22bf2fb )
v1.8.0
Bug Fixes
matchers: use isinstance() for matchers.IsA rather than type() (#88 ) (be6c780 )
fix name argument type anotation in Decoy.mock (1a59098 )
matchers: ensure ErrorMatching return type matches spec (#86 ) (c60af56 )
Features
allow spec-less mocks to be named (#85 ) (dbc4813 ), closes #79
match args leniently according to spec signature (#89 ) (fbbe941 ), closes #78
v1.7.0
Bug Fixes
verify: improve verify traceback and error messages (#66 ) (9e74b36 )
Features
v1.6.7
Bug Fixes
verify: ensure verify with times respects rehearsal args (#57 ) (af39c43 )
v1.6.6
Bug Fixes
call_stack: match spy IDs in get_by_rehearsals (#55 ) (8845b5b ), closes #54
v1.6.5
Bug Fixes
spy: match inspect.signature for staticmethods (#51 ) (f5dc60d )
v1.6.4
Bug Fixes
spy: gracefully degrade when a class's type hints can't be resolved at runtime (#47 ) (81072ed ), closes #46
You can’t perform that action at this time.