mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: check for the "no sudo present" string absence
When sudo is installed, no warning should be output about sudo not being available (obviously). Check that the relevant string is not present. Fixes: https://pagure.io/freeipa/issue/8530 Signed-off-by: François Cami <fcami@redhat.com> Reviewed-By: Armando Neto <abiagion@redhat.com>
This commit is contained in:
parent
abaa614a3c
commit
1ef54f2b8f
@ -1620,3 +1620,5 @@ class TestInstallWithoutSudo(IntegrationTest):
|
||||
tasks.install_packages(self.clients[0], ['sudo'])
|
||||
for pkg in ('sudo', 'libsss_sudo'):
|
||||
assert tasks.is_package_installed(self.clients[0], pkg)
|
||||
result = tasks.install_client(self.master, self.clients[0])
|
||||
assert self.no_sudo_str not in result.stderr_text
|
||||
|
Loading…
Reference in New Issue
Block a user