Releases: mcous/decoy
Releases · mcous/decoy
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 )
v1.3.0
Features
when: warn if stub is called with args that do not match (#15 ) (5fd4e6d ), closes #14
v1.2.0
Bug Fixes
spy: allow spy creation when type hints cannot be resolved (#10 ) (6bd7f40 ), closes #8
Features
verify: allow multiple rehearsals in verify (#11 ) (0c4206e ), closes #9
You can’t perform that action at this time.