mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
Use Samba TestCase class, as the python 2.6 one doesn't have assertIs, assertIsInstance or addCleanup.
Change-Id: I3daeffade0dac9795f61f91ee0da35fee0143a38 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
9a4a7b9d3e
commit
cef4861906
@ -25,6 +25,7 @@ from samba.subunit import (
|
||||
PROGRESS_PUSH,
|
||||
PROGRESS_POP,
|
||||
)
|
||||
from samba.tests import TestCase
|
||||
import tempfile
|
||||
|
||||
from selftest.run import (
|
||||
@ -36,7 +37,6 @@ from selftest.run import (
|
||||
run_testsuite_command,
|
||||
)
|
||||
|
||||
from unittest import TestCase
|
||||
|
||||
|
||||
class ExpandEnvironmentStringsTests(TestCase):
|
||||
|
@ -22,7 +22,7 @@
|
||||
import os
|
||||
import tempfile
|
||||
|
||||
from unittest import TestCase
|
||||
from samba.tests import TestCase
|
||||
|
||||
from selftest.testlist import (
|
||||
RestrictedTestManager,
|
||||
|
Loading…
x
Reference in New Issue
Block a user