How to mock class initializer for each method test?

后端 未结 0 1976
不思量自难忘°
不思量自难忘° 2020-11-30 01:18

I\'m having trouble cleanly mocking out the initializer for method unit tests.

import ipaddress
import logging

class MyClass:

  def __init__(self,
                  


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