summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-02-12 15:58:11 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-02-12 15:58:11 +0100
commit7048e75aeebc4d033c4e8425c364fe2e3e84f27b (patch)
treec4c97781480bd42a0bf66370019172ae1f74bddf /source4
parentbe9a4157f050f0b54fd369181ee273029c0f81fc (diff)
downloadsamba-7048e75aeebc4d033c4e8425c364fe2e3e84f27b.tar.gz
samba-7048e75aeebc4d033c4e8425c364fe2e3e84f27b.tar.bz2
samba-7048e75aeebc4d033c4e8425c364fe2e3e84f27b.zip
Use created loadparm context, rather than the one specified on the command-line.
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/tests/samdb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/tests/samdb.py b/source4/scripting/python/samba/tests/samdb.py
index 434d7a71f2..e0bbf07ba8 100644
--- a/source4/scripting/python/samba/tests/samdb.py
+++ b/source4/scripting/python/samba/tests/samdb.py
@@ -21,7 +21,7 @@ from samba.credentials import Credentials
import os
from samba.provision import setup_samdb, guess_names, setup_templatesdb, make_smbconf, find_setup_dir
from samba.samdb import SamDB
-from samba.tests import cmdline_loadparm, TestCaseInTempDir
+from samba.tests import TestCaseInTempDir
from samba.dcerpc import security
from unittest import TestCase
import uuid
@@ -69,7 +69,7 @@ class SamDBTestCase(TestCaseInTempDir):
self.setup_path, session_info=session_info,
credentials=creds, lp=self.lp)
self.samdb = setup_samdb(path, self.setup_path, session_info, creds,
- cmdline_loadparm, names,
+ self.lp, names,
lambda x: None, domainsid,
"# no aci", domainguid,
policyguid, False, "secret",