Assert a function/method was not called using Mock

后端 未结 6 1601
深忆病人
深忆病人 2020-12-12 19:50

I\'m using the Mock library to test my application, but I want to assert that some function was not called. Mock docs talk about methods like mock.assert_called_with

6条回答
提交回复
热议问题