Is there a way to mock isinstance() of an object in python?

后端 未结 0 1583
一生所求
一生所求 2020-12-05 11:34

I want to write a mock for a library object without inheriting from it in order to properly test, however without having to stub all non used functions of the original objec

相关标签:
回答
  • 消灭零回复
提交回复
热议问题