From 03abc846ee14a08e585c0997a6235ea01db8352f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 20 Apr 2009 11:11:25 +0200 Subject: Fix the valid NetBIOS name tests. --- source4/scripting/python/samba/tests/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4') diff --git a/source4/scripting/python/samba/tests/__init__.py b/source4/scripting/python/samba/tests/__init__.py index 3f8ee8da32..ae7a707e35 100644 --- a/source4/scripting/python/samba/tests/__init__.py +++ b/source4/scripting/python/samba/tests/__init__.py @@ -106,10 +106,10 @@ class RpcInterfaceTestCase(unittest.TestCase): class ValidNetbiosNameTests(unittest.TestCase): def test_valid(self): - self.assertTrue(valid_netbios_name("FOO")) + self.assertTrue(samba.valid_netbios_name("FOO")) def test_too_long(self): - self.assertFalse(valid_netbios_name("FOO"*10)) + self.assertFalse(samba.valid_netbios_name("FOO"*10)) def test_invalid_characters(self): - self.assertFalse(valid_netbios_name("()BLA")) + self.assertFalse(samba.valid_netbios_name("*BLA")) -- cgit