1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s4-test: name attribute remove from Command class, so test not required

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Amitay Isaacs 2011-09-09 15:21:59 +10:00 committed by Andrew Bartlett
parent a9dc2c81ad
commit 4688b3ca60

View 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"""