error function instead of print with sys.exit in CLI commands
Fixes: https://pagure.io/koji/issue/3112
This commit is contained in:
parent
6fd7845be3
commit
5232ea5aa1
3 changed files with 90 additions and 139 deletions
|
|
@ -179,7 +179,7 @@ class TestImportCG(utils.CliTestCase):
|
|||
options,
|
||||
session,
|
||||
arguments,
|
||||
stdout=expected,
|
||||
stderr=expected,
|
||||
exit_code=1)
|
||||
|
||||
# Case 4. path not exist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue