Closed catriuspham closed 7 years ago
In:
mock = Mock()
mock(a=4, b=5)
expect(mock).to.be.called_once_with(a=4, b=5)
Out:
BadExpectation:
A = <Mock id='140268734464408'>
B = no arguments
Z = a=4, b=5
Expected A to be called once with B
Actually called 1 times with Z
called_with, any_call also have this problem. I didn't write enough tests. My bad. :sob:
Can you give me an example?