summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-02-04 14:03:30 +0100
committerRob Crittenden <rcritten@redhat.com>2011-02-16 10:39:16 -0500
commite5d57d237b4f146faf2e5c27d4e9eb3359dc15b3 (patch)
treec6998fdaf83372e80e107da4d5dfc7246b552ce9 /tests
parenta9dc175bc547996646c213661ca42906ffef83ab (diff)
downloadfreeipa-e5d57d237b4f146faf2e5c27d4e9eb3359dc15b3.tar.gz
freeipa-e5d57d237b4f146faf2e5c27d4e9eb3359dc15b3.tar.xz
freeipa-e5d57d237b4f146faf2e5c27d4e9eb3359dc15b3.zip
HBAC plugin inconsistent output
This patch adds a proper summary text to HBAC command which is then printed out in CLI. Now, HBAC plugin output is consistent with other plugins. https://fedorahosted.org/freeipa/ticket/596
Diffstat (limited to 'tests')
-rw-r--r--tests/test_xmlrpc/test_hbacsvcgroup_plugin.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_xmlrpc/test_hbacsvcgroup_plugin.py b/tests/test_xmlrpc/test_hbacsvcgroup_plugin.py
index c5c02f11c..d2fa7cc8b 100644
--- a/tests/test_xmlrpc/test_hbacsvcgroup_plugin.py
+++ b/tests/test_xmlrpc/test_hbacsvcgroup_plugin.py
@@ -71,7 +71,7 @@ class test_hbacsvcgroup(Declarative):
),
expected=dict(
value=hbacsvcgroup1,
- summary=u'Added HBAC Service group "testhbacsvcgroup1"',
+ summary=u'Added HBAC service group "testhbacsvcgroup1"',
result=dict(
dn=dn1,
cn=[hbacsvcgroup1],
@@ -101,7 +101,7 @@ class test_hbacsvcgroup(Declarative):
),
expected=dict(
value=hbacsvc1,
- summary=u'Added service "%s"' % hbacsvc1,
+ summary=u'Added HBAC service "%s"' % hbacsvc1,
result=dict(
dn=hbacsvc_dn1,
cn=[hbacsvc1],
@@ -157,7 +157,7 @@ class test_hbacsvcgroup(Declarative):
expected=dict(
count=1,
truncated=False,
- summary=u'1 group matched',
+ summary=u'1 HBAC service group matched',
result=[
{
'dn': dn1,
@@ -177,7 +177,7 @@ class test_hbacsvcgroup(Declarative):
),
expected=dict(
value=hbacsvcgroup1,
- summary=u'Modified HBAC Service group "testhbacsvcgroup1"',
+ summary=u'Modified HBAC service group "testhbacsvcgroup1"',
result=dict(
cn=[hbacsvcgroup1],
description=[u'Updated hbacsvcgroup 1'],
@@ -229,7 +229,7 @@ class test_hbacsvcgroup(Declarative):
command=('hbacsvcgroup_del', [hbacsvcgroup1], {}),
expected=dict(
value=hbacsvcgroup1,
- summary=u'Deleted HBAC Service group "testhbacsvcgroup1"',
+ summary=u'Deleted HBAC service group "testhbacsvcgroup1"',
result=dict(failed=u''),
),
),
@@ -240,7 +240,7 @@ class test_hbacsvcgroup(Declarative):
command=('hbacsvc_del', [hbacsvc1], {}),
expected=dict(
value=hbacsvc1,
- summary=u'Deleted service "%s"' % hbacsvc1,
+ summary=u'Deleted HBAC service "%s"' % hbacsvc1,
result=dict(failed=u''),
),
)