summaryrefslogtreecommitdiff
path: root/lib/ldb-samba
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2016-07-14 12:28:58 +1200
committerGarming Sam <garming@samba.org>2016-07-15 10:01:28 +0200
commit3f0435452b7353d06c01e01c4e5ec00d033e6c6a (patch)
tree9b7667e6bad49b204a89b0f77975bd90fc6ba553 /lib/ldb-samba
parent2df3feaa785e93f7c8f668cb70e27381b3492393 (diff)
downloadsamba-3f0435452b7353d06c01e01c4e5ec00d033e6c6a.tar.gz
match_rules: Fix a duplicated check
Signed-off-by: Garming Sam <garming@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/ldb-samba')
-rwxr-xr-xlib/ldb-samba/tests/match_rules.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ldb-samba/tests/match_rules.py b/lib/ldb-samba/tests/match_rules.py
index 9c92b8be247..c2c44c68c08 100755
--- a/lib/ldb-samba/tests/match_rules.py
+++ b/lib/ldb-samba/tests/match_rules.py
@@ -722,7 +722,7 @@ class MatchRulesTests(samba.tests.TestCase):
self.assertEqual(len(res1), 2)
dn_list = [str(res.dn).lower() for res in res1]
self.assertTrue(("CN=e1,%s" % self.ou).lower() in dn_list)
- self.assertTrue(("CN=e1,%s" % self.ou).lower() in dn_list)
+ self.assertTrue(("CN=e2,%s" % self.ou).lower() in dn_list)
res1 = self.ldb.search(self.ou,
scope=SCOPE_ONELEVEL,
@@ -730,7 +730,7 @@ class MatchRulesTests(samba.tests.TestCase):
self.assertEqual(len(res1), 2)
dn_list = [str(res.dn).lower() for res in res1]
self.assertTrue(("CN=e1,%s" % self.ou).lower() in dn_list)
- self.assertTrue(("CN=e1,%s" % self.ou).lower() in dn_list)
+ self.assertTrue(("CN=e2,%s" % self.ou).lower() in dn_list)
def test_not_linked_attrs(self):
res1 = self.ldb.search(self.base_dn,