[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-561-g859cffe

Jelmer Vernooij jelmer at samba.org
Fri Jan 25 00:32:03 GMT 2008


The branch, v4-0-test has been updated
       via  859cffed9d3a62f9f7610d74472aa3c0d1979a35 (commit)
      from  d35d4f983d1eb7450cd9f92a5217c14ec073396f (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 859cffed9d3a62f9f7610d74472aa3c0d1979a35
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Fri Jan 25 01:30:43 2008 +0100

    python: fix tests for check_all_substituted.

-----------------------------------------------------------------------

Summary of changes:
 source/scripting/python/samba/tests/__init__.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/scripting/python/samba/tests/__init__.py b/source/scripting/python/samba/tests/__init__.py
index 9839811..e557dd9 100644
--- a/source/scripting/python/samba/tests/__init__.py
+++ b/source/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):


-- 
Samba Shared Repository


More information about the samba-cvs mailing list