summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/tests/samdb.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-30 14:15:40 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-30 14:15:40 +0200
commit277287114679addc2ef26fbe6a82963f9cf1b196 (patch)
tree95d99cd3eb44ac1f91cfdafe6ddf478131990361 /source4/scripting/python/samba/tests/samdb.py
parent2791fc9a5f8bc219e4de20c9b905b0f743aaf3ff (diff)
downloadsamba-277287114679addc2ef26fbe6a82963f9cf1b196.tar.gz
samba-277287114679addc2ef26fbe6a82963f9cf1b196.tar.xz
samba-277287114679addc2ef26fbe6a82963f9cf1b196.zip
Fix samdb python test.
(This used to be commit 0e3d488cc108174ca0f875aab16b9771c2933f19)
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 fcf93a3fc6f..97be5672ce8 100644
--- a/source4/scripting/python/samba/tests/samdb.py
+++ b/source4/scripting/python/samba/tests/samdb.py
@@ -25,7 +25,7 @@ from samba.tests import cmdline_loadparm, TestCaseInTempDir
from samba import security
from unittest import TestCase
import uuid
-import param
+from samba import param
class SamDBTestCase(TestCaseInTempDir):
def setUp(self):
@@ -59,7 +59,7 @@ class SamDBTestCase(TestCaseInTempDir):
names = guess_names(lp=lp, hostname=hostname,
domain=domain, dnsdomain=dnsdomain,
- serverrole=severrole,
+ serverrole=serverrole,
domaindn=self.domaindn, configdn=configdn,
schemadn=schemadn)
setup_templatesdb(os.path.join(self.tempdir, "templates.ldb"),