Unit testing; How to mock out a class object which is going to be passed to a function in Python?

后端 未结 0 1677
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 10:44

I\'m in the means of doing a Python embedded project where I\'m using Python-OpenZwave to communicate with a sensor via a z-wave dongle. And I need to do some unit testing o

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