(httpie_plugins, interface)
| 93 | |
| 94 | @pytest.mark.requires_installation |
| 95 | def test_plugins_uninstall_non_existent(httpie_plugins, interface): |
| 96 | plugin = interface.make_dummy_plugin(build=False) |
| 97 | result = httpie_plugins('uninstall', plugin.name) |
| 98 | |
| 99 | assert result.exit_status == ExitStatus.ERROR |
| 100 | assert ( |
| 101 | result.stderr.splitlines()[-1].strip() |
| 102 | == f"Can't uninstall '{plugin.name}': package is not installed" |
| 103 | ) |
| 104 | |
| 105 | |
| 106 | @pytest.mark.requires_installation |
nothing calls this directly
no test coverage detected