Esempio n. 1
0
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)
Esempio n. 2
0
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)
Esempio n. 3
0
 def test_install_uninstall(self):
     """Verify a package can be installed."""
     self.assertTrue(main.install(['testpackage']))
     self.assertTrue(main.uninstall(['testpackage']))
Esempio n. 4
0
 def test_install_uninstall(self):
     """Verify a package can be installed."""
     self.assertTrue(main.install(['testpackage']))
     self.assertTrue(main.uninstall(['testpackage']))