Releases: mcous/decoy
Releases · mcous/decoy
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
v1.6.3
Bug Fixes
verifier: do not access out-of-bounds index of calls list (#45 ) (15389ad ), closes #44
v1.6.2
Bug Fixes
warnings: don't raise MiscalledStubWarning on verified calls (#42 ) (929df14 ), closes #41
v1.6.0
Features
when: add then_do
API for triggering a callback (#39 ) (01fb271 ), closes #31
add mock
method to replace create_decoy
, create_decoy_func
(#37 ) (d3e0ae9 )
spy: add inspect.signature
and repr
support (#35 ) (0b12237 ), closes #29 #30
warnings: add RedundantVerifyWarning (#36 ) (633159f ), closes #34
v1.5.0
Features
pytest_plugin: add pytest plugin for decoy fixture injection (#26 ) (3193808 ), closes #25
verify: allow specification of exact call count (#27 ) (f17dd05 ), closes #23
v1.4.0
Bug Fixes
typing: ensure create_decoy typing accepts ABC as spec (#20 ) (47e328c )
Features
matchers: add argument captor matcher (#19 ) (f8c49eb ), closes #17
matchers: add HasAttributes and DictMatching matchers (#21 ) (0e75094 ), closes #18
v1.3.2
Features
when: warn if stub is called with arguments that do not match rehearsals (#16 ) (f0190e7 ), closes #14
v1.3.1
Reverts
remove missing stub warning; it's a little broken (338961e )
You can’t perform that action at this time.