Skip to content

Commit 7576c47

Browse files
committed
fixed includes in ldappool unittest, fixed packages section
1 parent 306c2e4 commit 7576c47

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Tests/t_ldappool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# Switch off processing .ldaprc or ldap.conf before importing _ldap
1313
os.environ["LDAPNOINIT"] = "1"
1414

15-
sys.path.append("../Lib")
1615
import ldappool
1716
from ldappool import Connection, ConnectionPool
1817

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ target-version = ['py36', 'py37', 'py38']
44

55
[tool.isort]
66
line_length=88
7-
known_first_party=['ldap', '_ldap', 'ldapurl', 'ldif', 'slapdtest']
7+
known_first_party=['ldap', '_ldap', 'ldapurl', 'ldif', 'slapdtest', 'ldappool']
88
sections=['FUTURE', 'STDLIB', 'THIRDPARTY', 'FIRSTPARTY', 'LOCALFOLDER']

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ class OpenLDAP2:
142142
py_modules = [
143143
'ldapurl',
144144
'ldif',
145-
'ldappool',
146145

147146
],
148147
packages = [
@@ -152,6 +151,7 @@ class OpenLDAP2:
152151
'ldap.schema',
153152
'slapdtest',
154153
'slapdtest.certs',
154+
'ldappool',
155155
],
156156
package_dir = {'': 'Lib',},
157157
data_files = LDAP_CLASS.extra_files,

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