pytest-when icon indicating copy to clipboard operation
pytest-when copied to clipboard

Ensure the user chain the tool in a proper order

Open zhukovgreen opened this issue 1 year ago • 1 comments

Currently nothing forbids to do when(...).then_return, but it is expected only when.called_with.then_return

An exception should be raised in inproper order of the methods

zhukovgreen avatar Jun 05 '23 14:06 zhukovgreen