Skip to content

Commit

Permalink
removed obsolete assert statements
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Apr 28, 2017
1 parent 19e21dd commit 7222475
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 9 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
----------------------------------------------------------------
Released 2.4.39 2017-05-xx

Changes since 2.4.38:

Lib/slapdtest.py
* Removed obsolete assert statements

----------------------------------------------------------------
Released 2.4.38 2017-04-28

Expand Down Expand Up @@ -1432,4 +1440,4 @@ Released 2.0.0pre02 2002-02-01
----------------------------------------------------------------
Released 1.10alpha3 2000-09-19

$Id: CHANGES,v 1.443 2017/04/28 09:03:22 stroeder Exp $
$Id: CHANGES,v 1.445 2017/04/28 20:04:34 stroeder Exp $
5 changes: 1 addition & 4 deletions Lib/slapdtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
See http://www.python-ldap.org/ for details.
$Id: slapdtest.py,v 1.10 2017/04/28 08:59:09 stroeder Exp $
$Id: slapdtest.py,v 1.11 2017/04/28 20:01:50 stroeder Exp $
Python compability note:
This module only works with Python 2.7.x since
Expand Down Expand Up @@ -126,9 +126,6 @@ def __init__(self):
self.ldap_uri = "ldap://%s:%d/" % (LOCALHOST, self._port)
ldapi_path = os.path.join(self.testrundir, 'ldapi')
self.ldapi_uri = "ldapi://%s" % urllib.quote_plus(ldapi_path)
assert self.suffix.startswith("dc=")
assert self.root_dn.startswith("cn=")
assert self.root_dn.endswith("," + self.suffix)

def _setup_rundir(self):
"""
Expand Down

0 comments on commit 7222475

Please sign in to comment.