Skip to content

Releases: mcous/decoy

v1.9.0

14 Dec 20:59
05c2e50

Choose a tag to compare

Features

  • when: add ContextManager mocking support (#93) (22bf2fb)

v1.8.0

02 Dec 18:48
34b71e9

Choose a tag to compare

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

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