From 206a10beaf5562a7a3a61aeea023c2d707be9ffe Mon Sep 17 00:00:00 2001 From: stroeder Date: Mon, 9 Oct 2017 14:40:48 +0000 Subject: [PATCH] removed work-around in t_cext.py --- CHANGES | 6 ++++-- Tests/t_cext.py | 16 +--------------- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/CHANGES b/CHANGES index ad48e28..9e82153 100644 --- a/CHANGES +++ b/CHANGES @@ -4,7 +4,9 @@ Released 2.4.45 2017-09-xx Changes since 2.4.44: Lib/ -* + +Tests/ +* removed work-around in t_cext.py ---------------------------------------------------------------- Released 2.4.44 2017-09-08 @@ -1509,4 +1511,4 @@ Released 2.0.0pre02 2002-02-01 ---------------------------------------------------------------- Released 1.10alpha3 2000-09-19 -$Id: CHANGES,v 1.467 2017/09/26 09:40:26 stroeder Exp $ +$Id: CHANGES,v 1.468 2017/10/09 14:40:48 stroeder Exp $ diff --git a/Tests/t_cext.py b/Tests/t_cext.py index 6ced288..ee1fd60 100644 --- a/Tests/t_cext.py +++ b/Tests/t_cext.py @@ -4,7 +4,7 @@ See https://www.python-ldap.org/ for details. -$Id: t_cext.py,v 1.24 2017/09/04 07:47:29 stroeder Exp $ +$Id: t_cext.py,v 1.25 2017/10/09 14:40:48 stroeder Exp $ """ import os @@ -523,20 +523,6 @@ def test_rename(self): result, pmsg, msgid, ctrls = l.result4(m, _ldap.MSG_ALL, self.timeout) self.assertEqual(result, _ldap.RES_ADD) - # WORKAROUND bug in slapd. (Without an existing child, - # renames into a container object do not work for the ldif backend, - # the renamed object appears to be deleted, not moved.) - # see http://www.openldap.org/its/index.cgi/Software%20Bugs?id=5408 - m = l.add_ext( - "cn=Bogus," + containerDn, - [ - ('objectClass', 'organizationalRole'), - ('cn', 'Bogus'), - ] - ) - result, pmsg, msgid, ctrls = l.result4(m, _ldap.MSG_ALL, self.timeout) - self.assertEqual(result, _ldap.RES_ADD) - # now rename from dn2 to the conater dn3 = "cn=IAmRenamedAgain," + containerDn