parent
d9d7c2b01e
commit
fd9239cba0
49 changed files with 915 additions and 88 deletions
|
|
@ -223,6 +223,17 @@ class TestRemovePkg(utils.CliTestCase):
|
|||
self.session.listPackages.assert_not_called()
|
||||
self.session.packageListRemove.assert_not_called()
|
||||
|
||||
def test_handle_remove_pkg_help(self):
|
||||
self.assert_help(
|
||||
handle_remove_pkg,
|
||||
"""Usage: %s remove-pkg [options] <tag> <package> [<package> ...]
|
||||
(Specify the --help global option for a list of other help options)
|
||||
|
||||
Options:
|
||||
-h, --help show this help message and exit
|
||||
--force Override blocks if necessary
|
||||
""" % self.progname)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue