How to mock Python classes instantiated in another class using unittest

前端 未结 0 456
孤街浪徒
孤街浪徒 2021-02-13 05:17

What is the proper way to unit test the following scenario in Python using the unittest module?

Code to test:

from myclasses import X,Y

d         


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