mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Use samba TestCase so we get all compatibility functions on Python < 2.7.
Change-Id: Iba87e3c8fa9331c4d5438ab60a8385379da634d7 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
fe231bedec
commit
0acb1d49a7
@ -81,7 +81,7 @@ class TestCase(unittest.TestCase):
|
||||
fn(*args, **kwargs)
|
||||
|
||||
|
||||
class LdbTestCase(unittest.TestCase):
|
||||
class LdbTestCase(TestCase):
|
||||
"""Trivial test case for running tests against a LDB."""
|
||||
|
||||
def setUp(self):
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
from cStringIO import StringIO
|
||||
|
||||
from unittest import TestCase
|
||||
from samba.tests import TestCase
|
||||
|
||||
from selftest.target.samba import (
|
||||
bindir_path,
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
"""Tests for selftest/socket_wrapper."""
|
||||
|
||||
from unittest import TestCase
|
||||
from samba.tests import TestCase
|
||||
|
||||
from selftest import socket_wrapper
|
||||
|
||||
|
@ -29,7 +29,7 @@ from selftest.target import (
|
||||
UnsupportedEnvironment,
|
||||
)
|
||||
|
||||
from unittest import TestCase
|
||||
from samba.tests import TestCase
|
||||
|
||||
|
||||
class DummyEnvironment(Environment):
|
||||
|
Loading…
Reference in New Issue
Block a user