From 98750442a396368df262218d343c439afdda01e2 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Fri, 21 Nov 2014 19:31:25 +0100 Subject: s4-dsdb-test: Fix duplicated key in a dictionary in sam.py Change-Id: Ie33d92bd308262d9bfda553d6d5e2cfd98f6d7b3 Signed-off-by: Kamen Mazdrashki Reviewed-by: Andrew Bartlett Reviewed-by: Garming Sam --- source4/dsdb/tests/python/sam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/dsdb/tests/python') diff --git a/source4/dsdb/tests/python/sam.py b/source4/dsdb/tests/python/sam.py index 25da8f9e98..d38d5c92ea 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"]) -- cgit