来源:https://stackoverflow.com/questions/64625411/mock-a-subset-of-a-python-classs-methods-and-properties 标签 python python-unittest python-mock python-unittest.mock