summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-06-13 16:23:09 +0200
committerMartin Kosek <mkosek@redhat.com>2011-06-15 12:47:57 +0200
commit613804083d40f6d3b64eeaa8da8a4f5b94cb839d (patch)
treef171cffe554cd746ed3e2ea06e4d0bff71d05f73 /tests
parentf21508978511d40a60fbdaaa786bcc96f99578d5 (diff)
downloadfreeipa-613804083d40f6d3b64eeaa8da8a4f5b94cb839d.tar.gz
freeipa-613804083d40f6d3b64eeaa8da8a4f5b94cb839d.tar.xz
freeipa-613804083d40f6d3b64eeaa8da8a4f5b94cb839d.zip
Add a list of managed hosts
Enhance Host plugin to provide not only "Managed By" list but also a list of managed hosts. The new list is generated only when --all option is passed. https://fedorahosted.org/freeipa/ticket/993
Diffstat (limited to 'tests')
-rw-r--r--tests/test_xmlrpc/test_host_plugin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_xmlrpc/test_host_plugin.py b/tests/test_xmlrpc/test_host_plugin.py
index 18f813d5b..ff87bc248 100644
--- a/tests/test_xmlrpc/test_host_plugin.py
+++ b/tests/test_xmlrpc/test_host_plugin.py
@@ -152,6 +152,7 @@ class test_host(Declarative):
serverhostname=[u'testhost1'],
objectclass=objectclasses.host,
managedby_host=[fqdn1],
+ managing_host=[fqdn1],
ipauniqueid=[fuzzy_uuid],
has_keytab=False
),
@@ -203,6 +204,7 @@ class test_host(Declarative):
objectclass=objectclasses.host,
ipauniqueid=[fuzzy_uuid],
managedby_host=[u'%s' % fqdn1],
+ managing_host=[u'%s' % fqdn1],
),
],
),