Unittesting a class which leverages setattr

前端 未结 0 1463
天命终不由人
天命终不由人 2021-01-24 02:56

When looking at mocking, it looks as if when Mocking a class, it will mock the defined properties, so i don\'t think the way this class below was implemented will mock correctly

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