Skip to content

Releases: mcous/decoy

v1.7.0

21 Sep 01:44
8e02b84

Choose a tag to compare

Bug Fixes

  • verify: improve verify traceback and error messages (#66) (9e74b36)

Features

  • allow extra arguments to be ignored (#61) (d1ba0d3), closes #60

v1.6.7

10 Aug 18:33
c3414c3

Choose a tag to compare

Bug Fixes

  • verify: ensure verify with times respects rehearsal args (#57) (af39c43)

v1.6.6

05 Aug 03:38
780785c

Choose a tag to compare

Bug Fixes

  • call_stack: match spy IDs in get_by_rehearsals (#55) (8845b5b), closes #54

v1.6.5

31 Jul 02:41
f01545d

Choose a tag to compare

Bug Fixes

  • spy: match inspect.signature for staticmethods (#51) (f5dc60d)

v1.6.4

21 Jul 16:21
b4ece6b

Choose a tag to compare

Bug Fixes

  • spy: gracefully degrade when a class's type hints can't be resolved at runtime (#47) (81072ed), closes #46

v1.6.3

21 Jul 02:02
f59ab66

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

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

Choose a tag to compare

Bug Fixes

v1.6.0

12 Jul 01:03

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

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