Fix expected return code in tests when server is uninstalled

It is likely that these were fixed by the original change
b96906156b but was uncaught because
these tests are not executed in CI because the server is configured.

https://pagure.io/freeipa/issue/7836

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
Rob Crittenden authored and Florence Blanc-Renaud committed 2019-06-07 11:24:45 +02:00
1 parent c1c50650a7
commit cef4edd384
1 file changed
+2 -2
+2 -2
View File
@@ -367,8 +367,8 @@ IPA_CLIENT_NOT_CONFIGURED = b'IPA client is not configured on this system'
[
# Commands delivered by the client pkg
(['ipa'], 1, None, IPA_CLIENT_NOT_CONFIGURED),
(['ipa-certupdate'], 1, None, IPA_CLIENT_NOT_CONFIGURED),
(['ipa-client-automount'], 1, IPA_CLIENT_NOT_CONFIGURED, None),
(['ipa-certupdate'], 2, None, IPA_CLIENT_NOT_CONFIGURED),
(['ipa-client-automount'], 2, IPA_CLIENT_NOT_CONFIGURED, None),
# Commands delivered by the server pkg
(['ipa-adtrust-install'], 2, None, IPA_NOT_CONFIGURED),
(['ipa-advise'], 2, None, IPA_NOT_CONFIGURED),