MCPcopy Index your code
hub / github.com/httpie/cli / test_plugins_uninstall_specific

Function test_plugins_uninstall_specific

tests/test_plugins_cli.py:72–82  ·  view source on GitHub ↗
(interface, httpie_plugins_success)

Source from the content-addressed store, hash-verified

70
71@pytest.mark.requires_installation
72def test_plugins_uninstall_specific(interface, httpie_plugins_success):
73 new_plugin_1 = interface.make_dummy_plugin()
74 new_plugin_2 = interface.make_dummy_plugin()
75 target_plugin = interface.make_dummy_plugin()
76
77 httpie_plugins_success('install', new_plugin_1.path, new_plugin_2.path, target_plugin.path)
78 httpie_plugins_success('uninstall', target_plugin.name)
79
80 assert interface.is_installed(new_plugin_1.name)
81 assert interface.is_installed(new_plugin_2.name)
82 assert not interface.is_installed(target_plugin.name)
83
84
85@pytest.mark.requires_installation

Callers

nothing calls this directly

Calls 3

httpie_plugins_successFunction · 0.85
make_dummy_pluginMethod · 0.80
is_installedMethod · 0.80

Tested by

no test coverage detected