python: fix tests for check_all_substituted.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 25 Jan 2008 00:30:43 +0000 (01:30 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 25 Jan 2008 00:30:43 +0000 (01:30 +0100)
source/scripting/python/samba/tests/__init__.py

index 9839811470af42299f424e340452f98501382cc3..e557dd95bee395a343f89ebad74063acec5dbd23 100644 (file)
@@ -69,8 +69,8 @@ class SubstituteVarTestCase(unittest.TestCase):
                 samba.substitute_var("foo ${bla} gsff", {"bar": "bla"}))
                 
     def test_check_all_substituted(self):
                 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):
 
 
 class LdbExtensionTests(TestCaseInTempDir):