From 36a071edb349701e1d0e59dd98ad89ce36854bb8 Mon Sep 17 00:00:00 2001 From: Jana Cupova Date: Tue, 3 Jan 2023 07:38:58 +0100 Subject: [PATCH] Fix typo in CLI add-tag-inheritance error msg Fixes: https://pagure.io/koji/issue/3640 --- cli/koji_cli/commands.py | 2 +- tests/test_cli/test_add_tag_inheritance.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 1217bc83..17843bee 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 c58e3ca1..2bb57704 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,