diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-02-12 15:58:11 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-02-12 15:58:11 +0100 |
commit | 7048e75aeebc4d033c4e8425c364fe2e3e84f27b (patch) | |
tree | c4c97781480bd42a0bf66370019172ae1f74bddf | |
parent | be9a4157f050f0b54fd369181ee273029c0f81fc (diff) | |
download | samba-7048e75aeebc4d033c4e8425c364fe2e3e84f27b.tar.gz samba-7048e75aeebc4d033c4e8425c364fe2e3e84f27b.tar.bz2 samba-7048e75aeebc4d033c4e8425c364fe2e3e84f27b.zip |
Use created loadparm context, rather than the one specified on the command-line.
-rw-r--r-- | source4/scripting/python/samba/tests/samdb.py | 4 |
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", |