summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-04-20 11:11:25 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-04-20 11:11:25 +0200
commit03abc846ee14a08e585c0997a6235ea01db8352f (patch)
treef83aa94c3088fee5d30d7ac1cbbb961871e3eace /source4/scripting
parent4afcde91b9736df8ce03f91ec7ea34f1446933e6 (diff)
downloadsamba-03abc846ee14a08e585c0997a6235ea01db8352f.tar.gz
samba-03abc846ee14a08e585c0997a6235ea01db8352f.tar.bz2
samba-03abc846ee14a08e585c0997a6235ea01db8352f.zip
Fix the valid NetBIOS name tests.
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/tests/__init__.py6
1 files changed, 3 insertions, 3 deletions
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"))