From 2fab7585e7f6093f161056ad42e83325ad3d623d Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Wed, 1 Feb 2017 14:21:22 +1300 Subject: [PATCH] s4/linked_attribute tests: remove helper function unused parameter Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- source4/dsdb/tests/python/linked_attributes.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source4/dsdb/tests/python/linked_attributes.py b/source4/dsdb/tests/python/linked_attributes.py index 305ff63dc93..183360027a4 100644 --- a/source4/dsdb/tests/python/linked_attributes.py +++ b/source4/dsdb/tests/python/linked_attributes.py @@ -115,8 +115,7 @@ class LATests(samba.tests.TestCase): m[attr] = ldb.MessageElement(dest, ldb.FLAG_MOD_REPLACE, attr) self.samdb.modify(m, controls=controls) - def attr_search(self, obj, expected, attr, scope=ldb.SCOPE_BASE, - **controls): + def attr_search(self, obj, attr, scope=ldb.SCOPE_BASE, **controls): if opts.no_reveal_internals: if 'reveal_internals' in controls: del controls['reveal_internals'] @@ -130,7 +129,7 @@ class LATests(samba.tests.TestCase): return res def assert_links(self, obj, expected, attr, msg='', **kwargs): - res = self.attr_search(obj, expected, attr, **kwargs) + res = self.attr_search(obj, attr, **kwargs) if len(expected) == 0: if attr in res[0]: -- 2.47.2