diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-08-30 18:38:22 -0400 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-08-31 14:34:52 +0200 |
commit | ca1ca17cb61516dff6933b1b0381b32e1e38d44c (patch) | |
tree | ae32fb50bde003c40889aa55ba6e25939f903d46 /tests/test_xmlrpc/test_hostgroup_plugin.py | |
parent | 8f5e82940fd2f5a81fe3644686b06ec08fb22c58 (diff) | |
download | freeipa.git-ca1ca17cb61516dff6933b1b0381b32e1e38d44c.tar.gz freeipa.git-ca1ca17cb61516dff6933b1b0381b32e1e38d44c.tar.xz freeipa.git-ca1ca17cb61516dff6933b1b0381b32e1e38d44c.zip |
Suppress managed netgroups from showing as memberof hostgroups.
By design these managed netgroups are not supposed to show unless you
specifically want to see them.
https://fedorahosted.org/freeipa/ticket/1738
Diffstat (limited to 'tests/test_xmlrpc/test_hostgroup_plugin.py')
-rw-r--r-- | tests/test_xmlrpc/test_hostgroup_plugin.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/test_xmlrpc/test_hostgroup_plugin.py b/tests/test_xmlrpc/test_hostgroup_plugin.py index 6c3b0a41..e0d11585 100644 --- a/tests/test_xmlrpc/test_hostgroup_plugin.py +++ b/tests/test_xmlrpc/test_hostgroup_plugin.py @@ -83,7 +83,6 @@ class test_hostgroup(Declarative): objectclass=objectclasses.hostgroup, description=[u'Test hostgroup 1'], ipauniqueid=[fuzzy_uuid], - memberof_netgroup=[hostgroup1], mepmanagedentry=lambda x: [DN(i) for i in x] == \ [DN(('cn',hostgroup1),('cn','ng'),('cn','alt'), api.env.basedn)], @@ -147,7 +146,6 @@ class test_hostgroup(Declarative): 'cn': [hostgroup1], 'description': [u'Test hostgroup 1'], 'member_host': [fqdn1], - 'memberof_netgroup': [hostgroup1], }, ), ), @@ -164,7 +162,6 @@ class test_hostgroup(Declarative): 'member_host': [u'testhost1.%s' % api.env.domain], 'cn': [hostgroup1], 'description': [u'Test hostgroup 1'], - 'memberof_netgroup': [hostgroup1], }, ), ), @@ -183,7 +180,6 @@ class test_hostgroup(Declarative): 'member_host': [u'testhost1.%s' % api.env.domain], 'cn': [hostgroup1], 'description': [u'Test hostgroup 1'], - 'memberof_netgroup': [hostgroup1], }, ], ), @@ -202,7 +198,6 @@ class test_hostgroup(Declarative): cn=[hostgroup1], description=[u'Updated hostgroup 1'], member_host=[u'testhost1.%s' % api.env.domain], - memberof_netgroup=[hostgroup1], ), ), ), @@ -219,7 +214,6 @@ class test_hostgroup(Declarative): 'member_host': [u'testhost1.%s' % api.env.domain], 'cn': [hostgroup1], 'description': [u'Updated hostgroup 1'], - 'memberof_netgroup': [hostgroup1], }, ), ), @@ -242,7 +236,6 @@ class test_hostgroup(Declarative): 'dn': lambda x: DN(x) == dn1, 'cn': [hostgroup1], 'description': [u'Updated hostgroup 1'], - 'memberof_netgroup': [hostgroup1], }, ), ), |