summaryrefslogtreecommitdiff
path: root/source4/auth/gensec/tests/bindings.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/gensec/tests/bindings.py')
-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):