diff options
-rw-r--r-- | source4/scripting/python/samba/tests/__init__.py | 6 |
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")) |