summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-02-01 16:20:54 -0500
committerMartin Kosek <mkosek@redhat.com>2012-02-08 09:12:53 +0100
commit304b70843a96ce2e4effbc1d45144f79fd761d63 (patch)
treedcaae35d8789699867f43f30112ce397f4d2a31b /tests
parentcca80c7c8c28b08f29d20ca0ca06d98d61247051 (diff)
downloadfreeipa-304b70843a96ce2e4effbc1d45144f79fd761d63.tar.gz
freeipa-304b70843a96ce2e4effbc1d45144f79fd761d63.tar.xz
freeipa-304b70843a96ce2e4effbc1d45144f79fd761d63.zip
Consolidate external member code into two functions in baseldap.py
External members (users and hosts) are assumed when doing member management on certain attributes. If the member isn't in IPA it is assumed to be external. When doing member management we need to sift through the list of failures and pull out all those that were simply not found in IPA. https://fedorahosted.org/freeipa/ticket/1734
Diffstat (limited to 'tests')
-rw-r--r--tests/test_xmlrpc/test_sudorule_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_xmlrpc/test_sudorule_plugin.py b/tests/test_xmlrpc/test_sudorule_plugin.py
index 07d23c3d2..4e283c208 100644
--- a/tests/test_xmlrpc/test_sudorule_plugin.py
+++ b/tests/test_xmlrpc/test_sudorule_plugin.py
@@ -436,7 +436,7 @@ class test_sudorule(XMLRPC_test):
assert ret['completed'] == 1
failed = ret['failed']
entry = ret['result']
- assert 'externalhost' not in entry
+ assert len(entry['externalhost']) == 0
def test_a_sudorule_add_allow_command(self):
"""