summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-25 01:30:43 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-25 01:30:43 +0100
commit76eb7ddd75719eb516a0dc10a88e23fd6463a718 (patch)
treefd29ec0b0433b7da8db80fdc063a75e0faff8f2f /source4
parenta4600a5ed0c325c689561b9aed1cd88365a3895c (diff)
downloadsamba-76eb7ddd75719eb516a0dc10a88e23fd6463a718.tar.gz
samba-76eb7ddd75719eb516a0dc10a88e23fd6463a718.tar.bz2
samba-76eb7ddd75719eb516a0dc10a88e23fd6463a718.zip
python: fix tests for check_all_substituted.
(This used to be commit 859cffed9d3a62f9f7610d74472aa3c0d1979a35)
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/tests/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/tests/__init__.py b/source4/scripting/python/samba/tests/__init__.py
index 9839811470..e557dd95be 100644
--- a/source4/scripting/python/samba/tests/__init__.py
+++ b/source4/scripting/python/samba/tests/__init__.py
@@ -69,8 +69,8 @@ class SubstituteVarTestCase(unittest.TestCase):
samba.substitute_var("foo ${bla} gsff", {"bar": "bla"}))
def test_check_all_substituted(self):
- check_all_substituted("nothing to see here")
- self.assertRaises(Exception, check_all_substituted, "Not subsituted: ${FOOBAR}")
+ samba.check_all_substituted("nothing to see here")
+ self.assertRaises(Exception, samba.check_all_substituted, "Not subsituted: ${FOOBAR}")
class LdbExtensionTests(TestCaseInTempDir):