def test_install_plugin(vim, plugin_dir, plugin_entry_script):
    vim.install_plugin(plugin_dir, plugin_entry_script)
    assert plugin_dir in vim.runtimepath
    assert vim.command('Spam') == 'spam'
dataset/ETHPy150Open manicmaniac/headlessvim/tests/test_headlessvim.py/test_install_plugin/original