Skip to content

Commit 7222475

Browse files
author
stroeder
committed
removed obsolete assert statements
1 parent 19e21dd commit 7222475

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

CHANGES

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
----------------------------------------------------------------
2+
Released 2.4.39 2017-05-xx
3+
4+
Changes since 2.4.38:
5+
6+
Lib/slapdtest.py
7+
* Removed obsolete assert statements
8+
19
----------------------------------------------------------------
210
Released 2.4.38 2017-04-28
311

@@ -1432,4 +1440,4 @@ Released 2.0.0pre02 2002-02-01
14321440
----------------------------------------------------------------
14331441
Released 1.10alpha3 2000-09-19
14341442

1435-
$Id: CHANGES,v 1.443 2017/04/28 09:03:22 stroeder Exp $
1443+
$Id: CHANGES,v 1.445 2017/04/28 20:04:34 stroeder Exp $

Lib/slapdtest.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
See http://www.python-ldap.org/ for details.
66
7-
$Id: slapdtest.py,v 1.10 2017/04/28 08:59:09 stroeder Exp $
7+
$Id: slapdtest.py,v 1.11 2017/04/28 20:01:50 stroeder Exp $
88
99
Python compability note:
1010
This module only works with Python 2.7.x since
@@ -126,9 +126,6 @@ def __init__(self):
126126
self.ldap_uri = "ldap://%s:%d/" % (LOCALHOST, self._port)
127127
ldapi_path = os.path.join(self.testrundir, 'ldapi')
128128
self.ldapi_uri = "ldapi://%s" % urllib.quote_plus(ldapi_path)
129-
assert self.suffix.startswith("dc=")
130-
assert self.root_dn.startswith("cn=")
131-
assert self.root_dn.endswith("," + self.suffix)
132129

133130
def _setup_rundir(self):
134131
"""

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