def _run_uninstall(args, cwd, error): """Process arguments and run the `uninstall` subcommand. @param args: Namespace of CLI arguments @param cwd: current working directory @param error: function to call for CLI errors """ logging.debug("unused arguments: {0}".format((cwd, error))) return _main.uninstall(args.name)
def test_install_uninstall(self): """Verify a package can be installed.""" self.assertTrue(main.install(['testpackage'])) self.assertTrue(main.uninstall(['testpackage']))