Skip to content

Commit 206a10b

Browse files
author
stroeder
committed
removed work-around in t_cext.py
1 parent d70a735 commit 206a10b

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

CHANGES

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ Released 2.4.45 2017-09-xx
44
Changes since 2.4.44:
55

66
Lib/
7-
*
7+
8+
Tests/
9+
* removed work-around in t_cext.py
810

911
----------------------------------------------------------------
1012
Released 2.4.44 2017-09-08
@@ -1509,4 +1511,4 @@ Released 2.0.0pre02 2002-02-01
15091511
----------------------------------------------------------------
15101512
Released 1.10alpha3 2000-09-19
15111513

1512-
$Id: CHANGES,v 1.467 2017/09/26 09:40:26 stroeder Exp $
1514+
$Id: CHANGES,v 1.468 2017/10/09 14:40:48 stroeder Exp $

Tests/t_cext.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
See https://www.python-ldap.org/ for details.
66
7-
$Id: t_cext.py,v 1.24 2017/09/04 07:47:29 stroeder Exp $
7+
$Id: t_cext.py,v 1.25 2017/10/09 14:40:48 stroeder Exp $
88
"""
99

1010
import os
@@ -523,20 +523,6 @@ def test_rename(self):
523523
result, pmsg, msgid, ctrls = l.result4(m, _ldap.MSG_ALL, self.timeout)
524524
self.assertEqual(result, _ldap.RES_ADD)
525525

526-
# WORKAROUND bug in slapd. (Without an existing child,
527-
# renames into a container object do not work for the ldif backend,
528-
# the renamed object appears to be deleted, not moved.)
529-
# see http://www.openldap.org/its/index.cgi/Software%20Bugs?id=5408
530-
m = l.add_ext(
531-
"cn=Bogus," + containerDn,
532-
[
533-
('objectClass', 'organizationalRole'),
534-
('cn', 'Bogus'),
535-
]
536-
)
537-
result, pmsg, msgid, ctrls = l.result4(m, _ldap.MSG_ALL, self.timeout)
538-
self.assertEqual(result, _ldap.RES_ADD)
539-
540526
# now rename from dn2 to the conater
541527
dn3 = "cn=IAmRenamedAgain," + containerDn
542528

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy