From 21b461ec258f2a90c6bba231ebc8596dca434c85 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Wed, 1 Apr 2020 13:28:01 +0200 Subject: [PATCH] fix test --- tests/test_cli/test_build.py | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/tests/test_cli/test_build.py b/tests/test_cli/test_build.py index 6ee45189..b99cf2d2 100644 --- a/tests/test_cli/test_build.py +++ b/tests/test_cli/test_build.py @@ -21,13 +21,12 @@ class TestBuild(utils.CliTestCase): self.session = mock.MagicMock() self.error_format = """Usage: %s build [options] -First option is build target (don't confuse it with destination -tag (where build ends) or buildroot (from where dependencies -are installed). +The first option is the build target, not to be confused with the destination +tag (where the build eventually lands) or build tag (where the buildroot +contents are pulled from). -List of all available targets can be acquired by " -'koji list-targets'. For further info about how tags, targets " -and buildroot interact, check the " +You can list all available build targets using the 'koji list-targets' command. +More detail can be found in the documentation. https://docs.pagure.org/koji/HOWTO/#package-organization (Specify the --help global option for a list of other help options) @@ -201,13 +200,12 @@ Task info: weburl/taskinfo?taskID=1 actual_stderr = stderr.getvalue() expected_stdout = """Usage: %s build [options] -First option is build target (don't confuse it with destination -tag (where build ends) or buildroot (from where dependencies -are installed). +The first option is the build target, not to be confused with the destination +tag (where the build eventually lands) or build tag (where the buildroot +contents are pulled from). -List of all available targets can be acquired by " -'koji list-targets'. For further info about how tags, targets " -and buildroot interact, check the " +You can list all available build targets using the 'koji list-targets' command. +More detail can be found in the documentation. https://docs.pagure.org/koji/HOWTO/#package-organization (Specify the --help global option for a list of other help options)