summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2014-11-21 19:31:25 +0100
committerAndrew Bartlett <abartlet@samba.org>2015-02-03 05:02:12 +0100
commit98750442a396368df262218d343c439afdda01e2 (patch)
treed1424ad839763f0f0c4f82670e8c2391e1c8058d /source4/dsdb
parentadd32d85750700aa6e4766a3a3067d7f3a6a02a2 (diff)
downloadsamba-98750442a396368df262218d343c439afdda01e2.tar.gz
s4-dsdb-test: Fix duplicated key in a dictionary in sam.py
Change-Id: Ie33d92bd308262d9bfda553d6d5e2cfd98f6d7b3 Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4/dsdb')
-rwxr-xr-xsource4/dsdb/tests/python/sam.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/tests/python/sam.py b/source4/dsdb/tests/python/sam.py
index 25da8f9e98b..d38d5c92ea1 100755
--- a/source4/dsdb/tests/python/sam.py
+++ b/source4/dsdb/tests/python/sam.py
@@ -2594,9 +2594,9 @@ class SamTests(samba.tests.TestCase):
self.ldb.add({
"dn": "cn=ldaptestgroup,cn=users," + self.base_dn,
- "description": "desc2",
"objectclass": "group",
- "description": "desc1"})
+ "description": "desc1"
+ })
res = ldb.search("cn=ldaptestgroup,cn=users," + self.base_dn,
scope=SCOPE_BASE, attrs=["description"])