Unify error messages related to hosts and users
Fixes: https://pagure.io/koji/issue/2858
This commit is contained in:
parent
f2c314d07b
commit
8ecfc53119
5 changed files with 10 additions and 10 deletions
|
|
@ -67,7 +67,7 @@ class TestEnableHost(utils.CliTestCase):
|
|||
session.editHost.assert_not_called()
|
||||
expect = ''
|
||||
for host in arguments:
|
||||
expect += "Host %s does not exist\n" % host
|
||||
expect += "No such host: %s\n" % host
|
||||
stderr_exp = "No changes made. Please correct the command line.\n"
|
||||
self.assert_console_message(stdout, expect)
|
||||
self.assert_console_message(stderr, stderr_exp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue