summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/tests/samdb.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-14 23:28:14 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-14 23:28:14 +0200
commit1b5f32128d1867829647a4e1f20b6e8363444f66 (patch)
treed585ef73b8827a44f8454150cd64cab00d9a45a6 /source4/scripting/python/samba/tests/samdb.py
parent9b503470769e1f808c4bdafafba0b93e2ede3bd6 (diff)
downloadsamba-1b5f32128d1867829647a4e1f20b6e8363444f66.tar.gz
samba-1b5f32128d1867829647a4e1f20b6e8363444f66.tar.xz
samba-1b5f32128d1867829647a4e1f20b6e8363444f66.zip
Use RpcInterfaceTestCase everywhere.
(This used to be commit 799095b4e567f4495adf7d1d7bcb81dda6782959)
Diffstat (limited to 'source4/scripting/python/samba/tests/samdb.py')
-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 3745dba6fc2..0e175bf936a 100644
--- a/source4/scripting/python/samba/tests/samdb.py
+++ b/source4/scripting/python/samba/tests/samdb.py
@@ -21,7 +21,7 @@ from credentials import Credentials
import os
from samba.provision import setup_samdb
from samba.samdb import SamDB
-from samba.tests import get_loadparm, TestCaseInTempDir
+from samba.tests import cmdline_loadparm, TestCaseInTempDir
import security
from unittest import TestCase
import uuid
@@ -43,7 +43,7 @@ class SamDBTestCase(TestCaseInTempDir):
hostguid = uuid.random()
path = os.path.join(self.tempdir, "samdb.ldb")
self.samdb = setup_samdb(path, setup_path, system_session(), creds,
- get_loadparm(), schemadn, configdn,
+ cmdline_loadparm, schemadn, configdn,
self.domaindn, "example.com", "EXAMPLE.COM",
"FOO", lambda x: None, "foo", domaindn,
False, domainsid, "# no aci", domainguid,