File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
See https://www.python-ldap.org/ for details.
6
6
7
- $Id: slapdtest.py,v 1.16 2017/08/15 16:21:58 stroeder Exp $
7
+ $Id: slapdtest.py,v 1.17 2017/08/15 16:39:26 stroeder Exp $
8
8
9
9
Python compability note:
10
10
This module only works with Python 2.7.x since
@@ -99,7 +99,9 @@ class SlapdObject(object):
99
99
# use SASL/EXTERNAL via LDAPI when invoking OpenLDAP CLI tools
100
100
cli_sasl_external = True
101
101
local_host = '127.0.0.1'
102
- testrunsubdirs = (())
102
+ testrunsubdirs = (
103
+ 'schema' ,
104
+ )
103
105
openldap_schema_files = (
104
106
'core.schema' ,
105
107
)
@@ -125,6 +127,7 @@ def __init__(self):
125
127
self ._port = self ._avail_tcp_port ()
126
128
self .server_id = self ._port % 4096
127
129
self .testrundir = os .path .join (self .TMPDIR , 'python-ldap-test-%d' % self ._port )
130
+ self ._schema_prefix = os .path .join (self .testrundir , 'schema' )
128
131
self ._slapd_conf = os .path .join (self .testrundir , 'slapd.conf' )
129
132
self ._db_directory = os .path .join (self .testrundir , "openldap-data" )
130
133
self .ldap_uri = "ldap://%s:%d/" % (LOCALHOST , self ._port )
You can’t perform that action at this time.
0 commit comments