@classmethod
    def imitate(cls, *others):
        for other in others:
            for name in other.__dict__:
                try:
                    setattr(cls, name, mock.Mock())
                except (TypeError, __HOLE__):
                    pass
        return cls
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/saf/server/test_dfa_server.py/FakeClass.imitate