s4-test: name attribute remove from Command class, so test not required
authorAmitay Isaacs <amitay@gmail.com>
Fri, 9 Sep 2011 05:21:59 +0000 (15:21 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 9 Sep 2011 05:24:00 +0000 (15:24 +1000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/tests/netcmd.py

index 787bcd5a7263d2bb33b3fe3b7e349dc7514cf8f8..7b53d53c3caa373c0cfa441253fdf8e3c69ea205 100644 (file)
@@ -23,12 +23,6 @@ from samba.netcmd import Command
 import samba.tests
 
 class CommandTests(samba.tests.TestCase):
-
-    def test_name(self):
-        class cmd_foo(Command):
-            pass
-        self.assertEquals("foo", cmd_foo().name)
-
     def test_description(self):
         class cmd_foo(Command):
             """Mydescription"""