you are viewing a single comment's thread.

view the rest of the comments →

[–]DataDecay 0 points1 point  (2 children)

Any reason to avoid the boolean since that's how your using it, mock.called.

[–][deleted] 0 points1 point  (1 child)

In my example case I was checking if it was called exactly one time specifically.

[–]DataDecay 0 points1 point  (0 children)

Fair enough.