summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-13 16:38:24 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-13 18:19:03 +0200
commit51058213cb183bcb127f5bb275cbb781efc55e35 (patch)
treecdf9394eaba7e5ab2e784cd18518770469f99075 /source4/auth
parent46037a816091506c4c89df6141d57b281728b395 (diff)
downloadsamba-51058213cb183bcb127f5bb275cbb781efc55e35.tar.gz
samba-51058213cb183bcb127f5bb275cbb781efc55e35.tar.bz2
samba-51058213cb183bcb127f5bb275cbb781efc55e35.zip
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.
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/tests/bindings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/gensec/tests/bindings.py b/source4/auth/gensec/tests/bindings.py
index f88fa82ae1..b9d80e4f9e 100644
--- a/source4/auth/gensec/tests/bindings.py
+++ b/source4/auth/gensec/tests/bindings.py
@@ -25,14 +25,14 @@ the functionality, that's already done in other tests.
import unittest
from samba import gensec
-from samba.tests import cmdline_loadparm
+from samba.tests import env_loadparm
class CredentialsTests(unittest.TestCase):
def setUp(self):
settings = {}
settings["target_hostname"] = "localhost"
- settings["lp_ctx"] = cmdline_loadparm
+ settings["lp_ctx"] = env_loadparm()
self.gensec = gensec.Security.start_client(settings)
def test_info(self):