

@classmethod
def mock_property(cls, property_name):
    element = Mock(spec=TrelloElementMock)
    property_mock = PropertyMock()
    setattr(type(element), property_name, property_mock)
    return (element, property_mock)

dataset/ETHPy150Open NicoSantangelo/sublime-text-trello/tests/util.py TrelloElementMock.mock_property/original