From edaefb865bc9ca6cfbc3b2322461c5aef35bc274 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Thu, 22 Apr 2021 10:17:39 +0200 Subject: [PATCH] fix tests for changed helpstring Related: https://pagure.io/koji/issue/2687 --- tests/test_cli/test_list_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cli/test_list_api.py b/tests/test_cli/test_list_api.py index e1501043..593eba3d 100644 --- a/tests/test_cli/test_list_api.py +++ b/tests/test_cli/test_list_api.py @@ -13,7 +13,7 @@ class TestListApi(utils.CliTestCase): maxDiff = None def setUp(self): - self.error_format = """Usage: %s list-api [options] [method_name] + self.error_format = """Usage: %s list-api [options] [method_name ...] (Specify the --help global option for a list of other help options) %s: error: {message} @@ -81,7 +81,7 @@ class TestListApi(utils.CliTestCase): def test_anon_handle_list_api_help(self): self.assert_help( anon_handle_list_api, - """Usage: %s list-api [options] [method_name] + """Usage: %s list-api [options] [method_name ...] (Specify the --help global option for a list of other help options) Options: