summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration
diff options
context:
space:
mode:
authorOleg Fayans <ofayans@redhat.com>2016-09-21 13:17:14 +0200
committerDavid Kupka <dkupka@redhat.com>2016-09-22 15:20:42 +0200
commit8be0906b04bbf995af6326b560151d15901b544e (patch)
tree92015534ace8f2ea330de7f7317ec1f35283af0a /ipatests/test_integration
parent106f37c26f64492f771214409d229feb5d70a113 (diff)
downloadfreeipa-8be0906b04bbf995af6326b560151d15901b544e.tar.gz
freeipa-8be0906b04bbf995af6326b560151d15901b544e.tar.xz
freeipa-8be0906b04bbf995af6326b560151d15901b544e.zip
tests: added verbose assert to test_service_disable_doesnt_revoke
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipatests/test_integration')
-rw-r--r--ipatests/test_integration/test_caless.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/ipatests/test_integration/test_caless.py b/ipatests/test_integration/test_caless.py
index 95446f972..52f159626 100644
--- a/ipatests/test_integration/test_caless.py
+++ b/ipatests/test_integration/test_caless.py
@@ -1198,8 +1198,11 @@ class TestIPACommands(CALessBase):
def test_service_disable_doesnt_revoke(self):
"Verify that service-disable does not attempt to revoke certificate"
with self.service():
- self.master.run_command(['ipa', 'service-disable',
- self.test_service])
+ result = self.master.run_command(['ipa', 'service-disable',
+ self.test_service],
+ raiseonerr=False)
+ assert(result.returncode == 0), (
+ "Failed to disable ipa-service: %s" % result.stderr_text)
def test_service_del_doesnt_revoke(self):
"Verify that service-del does not attempt to revoke certificate"