diff --git a/stevedore/tests/test_callback.py b/stevedore/tests/test_callback.py index 877b31e..c513aa2 100644 --- a/stevedore/tests/test_callback.py +++ b/stevedore/tests/test_callback.py @@ -32,7 +32,7 @@ class TestCallback(utils.TestCase): on_load_failure_callback= failure_callback) extensions = list(em.extensions) - self.assertThat(len(extensions), GreaterThan(0)) + self.assertTrue(len(extensions), GreaterThan(0)) self.assertEqual(len(errors), 2) for manager, entrypoint, error in errors: self.assertIs(manager, em) diff --git a/stevedore/tests/utils.py b/stevedore/tests/utils.py index 0a6cc0a..f452959 100644 --- a/stevedore/tests/utils.py +++ b/stevedore/tests/utils.py @@ -10,8 +10,8 @@ # License for the specific language governing permissions and limitations # under the License. -from oslotest import base as test_base +import unittest -class TestCase(test_base.BaseTestCase): +class TestCase(unittest.TestCase): pass diff --git a/test-requirements.txt b/test-requirements.txt index 5488850..bbd7ef8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,6 +7,5 @@ sphinx!=1.6.1,>=1.5.1 # BSD mock>=2.0 # BSD coverage!=4.4,>=4.0 # Apache-2.0 testrepository>=0.0.18 # Apache-2.0/BSD -oslotest>=1.10.0 # Apache-2.0 oslosphinx>=4.7.0 # Apache-2.0 reno>=1.8.0 # Apache-2.0