Fix typo in CLI add-tag-inheritance error msg

Fixes: https://pagure.io/koji/issue/3640
This commit is contained in:
Jana Cupova 2023-01-03 07:38:58 +01:00
parent 6c9da27987
commit 36a071edb3
2 changed files with 2 additions and 2 deletions

View file

@ -5041,7 +5041,7 @@ def handle_add_tag_inheritance(goptions, session, args):
(options, args) = parser.parse_args(args)
if len(args) != 2:
parser.error("This command takes exctly two argument: a tag name or ID and that tag's "
parser.error("This command takes exactly two arguments: a tag name or ID and that tag's "
"new parent name or ID")
activate_session(session, goptions)

View file

@ -59,7 +59,7 @@ class TestAddTagInheritance(utils.CliTestCase):
def test_add_tag_inheritance_without_option(self):
arguments = []
expected = self.format_error_message(
"This command takes exctly two argument: a tag name or ID and that tag's new "
"This command takes exactly two arguments: a tag name or ID and that tag's new "
"parent name or ID")
self.assert_system_exit(
handle_add_tag_inheritance,