1
0
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:
Jelmer Vernooij 2015-01-28 22:17:41 +01:00 committed by Andrew Bartlett
parent 9a4a7b9d3e
commit cef4861906
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -22,7 +22,7 @@
import os
import tempfile
from unittest import TestCase
from samba.tests import TestCase
from selftest.testlist import (
RestrictedTestManager,