From 51058213cb183bcb127f5bb275cbb781efc55e35 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 13 Jun 2010 16:38:24 +0200 Subject: s4-test: Use smb.conf path set in environment rather than using command-line options. This is the first step towards supporting custom test runners. --- source4/lib/ldb/tests/python/dsdb_schema_info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb/tests') diff --git a/source4/lib/ldb/tests/python/dsdb_schema_info.py b/source4/lib/ldb/tests/python/dsdb_schema_info.py index f0c8c14d6d..976d67024a 100755 --- a/source4/lib/ldb/tests/python/dsdb_schema_info.py +++ b/source4/lib/ldb/tests/python/dsdb_schema_info.py @@ -198,7 +198,7 @@ systemOnly: FALSE ######################################################################################## if not "DC_SERVER" in os.environ.keys(): - raise AssertionError, "Please supply TARGET_DC in environment" + raise AssertionError("Please supply TARGET_DC in environment") ldb_url = os.environ["DC_SERVER"] ldb_options = [] @@ -211,7 +211,7 @@ if not "://" in ldb_url: ldb_options = ["modules:paged_searches"] ldb = Ldb(url=ldb_url, - lp=samba.tests.cmdline_loadparm, + lp=samba.tests.env_loadparm(), session_info=system_session(), credentials=samba.tests.cmdline_credentials, options=ldb_options) -- cgit