1
0
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:
Jelmer Vernooij 2015-01-30 02:06:33 +01:00 committed by Andrew Bartlett
parent fe231bedec
commit 0acb1d49a7
4 changed files with 4 additions and 4 deletions

View File

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

View File

@ -21,7 +21,7 @@
from cStringIO import StringIO
from unittest import TestCase
from samba.tests import TestCase
from selftest.target.samba import (
bindir_path,

View File

@ -19,7 +19,7 @@
"""Tests for selftest/socket_wrapper."""
from unittest import TestCase
from samba.tests import TestCase
from selftest import socket_wrapper

View File

@ -29,7 +29,7 @@ from selftest.target import (
UnsupportedEnvironment,
)
from unittest import TestCase
from samba.tests import TestCase
class DummyEnvironment(Environment):