Add assertSpyNotCalledWith().

Review Request #11159 — Created Sept. 3, 2020 and submitted — Latest diff uploaded

Information

kgb
master

Reviewers

kgb

This fills a gap in the assertion methods offered by KGB, allowing a
caller to assert that a particular call was never made. This is the
negation of assertSpyCalledWith(), and accepts a function, a spy, or a
call.

Unit tests pass for all supported versions of Python.

Used this in a unit test successfully.

Commits

Files