From edaefb865bc9ca6cfbc3b2322461c5aef35bc274 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Apr 22 2021 08:17:39 +0000 Subject: fix tests for changed helpstring Related: https://pagure.io/koji/issue/2687 --- diff --git a/tests/test_cli/test_list_api.py b/tests/test_cli/test_list_api.py index e150104..593eba3 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: