diff options
Diffstat (limited to 'source4/scripting/python/samba/tests')
-rw-r--r-- | source4/scripting/python/samba/tests/netcmd.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/tests/netcmd.py b/source4/scripting/python/samba/tests/netcmd.py index 4f06124482..ac5164b479 100644 --- a/source4/scripting/python/samba/tests/netcmd.py +++ b/source4/scripting/python/samba/tests/netcmd.py @@ -56,3 +56,8 @@ class CommandTests(samba.tests.TestCase): class cmd_foo(Command): """Mydescription""" self.assertEquals("Mydescription", cmd_foo().description) + + def test_name(self): + class cmd_foo(Command): + pass + self.assertEquals("foo", cmd_foo().name) |