From 36a071edb349701e1d0e59dd98ad89ce36854bb8 Mon Sep 17 00:00:00 2001 From: Jana Cupova Date: Jan 03 2023 12:53:59 +0000 Subject: Fix typo in CLI add-tag-inheritance error msg Fixes: https://pagure.io/koji/issue/3640 --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 1217bc8..17843be 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -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) diff --git a/tests/test_cli/test_add_tag_inheritance.py b/tests/test_cli/test_add_tag_inheritance.py index c58e3ca..2bb5770 100644 --- a/tests/test_cli/test_add_tag_inheritance.py +++ b/tests/test_cli/test_add_tag_inheritance.py @@ -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,