def patch_vim():
    sys.modules['vim'] = VimMock()
Create a new extention.
dataset/ETHPy150Open lukaszb/vimmock/vimmock/__init__.py/patch_vim--crossover with--dataset/ETHPy150Open openstack/oslo.vmware/oslo_vmware/vim_util.py/register_extension