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/auth/gensec/tests/bindings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/auth/gensec/tests/bindings.py') 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): -- cgit