mirror of
https://github.com/samba-team/samba.git
synced 2025-07-22 16:59:09 +03:00
python: Use samba.tests.TestCase, make sure base class tearDown and
setUp methods are called, fix formatting.
This commit is contained in:
@ -17,11 +17,10 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
import unittest
|
||||
|
||||
from samba.netcmd import Command
|
||||
import samba.tests
|
||||
|
||||
class CommandTests(unittest.TestCase):
|
||||
class CommandTests(samba.tests.TestCase):
|
||||
|
||||
def test_name(self):
|
||||
class cmd_foo(Command):
|
||||
|
Reference in New Issue
Block a user