Skip to content

Releases: mcous/decoy

v1.6.3

21 Jul 02:02
f59ab66
Compare
Choose a tag to compare

Bug Fixes

  • verifier: do not access out-of-bounds index of calls list (#45) (15389ad), closes #44

v1.6.2

16 Jul 20:53
b57b111
Compare
Choose a tag to compare

Bug Fixes

  • warnings: don't raise MiscalledStubWarning on verified calls (#42) (929df14), closes #41

v1.6.1

13 Jul 03:26
cf08794
Compare
Choose a tag to compare

Bug Fixes

v1.6.0

12 Jul 01:03
Compare
Choose a tag to compare

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

11 Jul 03:19
Compare
Choose a tag to compare

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

11 Jul 03:19
d7ebd35
Compare
Choose a tag to compare

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

11 Jul 03:19
8b5aeaf
Compare
Choose a tag to compare

Features

  • when: warn if stub is called with arguments that do not match rehearsals (#16) (f0190e7), closes #14

v1.3.1

11 Jul 03:19
1dab3f9
Compare
Choose a tag to compare

Reverts

  • remove missing stub warning; it's a little broken (338961e)

v1.3.0

11 Jul 03:19
Compare
Choose a tag to compare

Features

  • when: warn if stub is called with args that do not match (#15) (5fd4e6d), closes #14

v1.2.0

11 Jul 03:19
Compare
Choose a tag to compare

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