From 66071d4cc561cffd5c1b7abe0d36ffe58a0e1ea7 Mon Sep 17 00:00:00 2001 From: Brianna Poulos Date: Tue, 28 Feb 2017 13:10:15 -0500 Subject: [PATCH] Fix oslotest import error The barbican-tempest-plugin gate has stopped working after export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1 was removed in Ibef3f9a135f14727bf57c29e766f838d7da56c68 since oslotest is no longer installed. This patch uses the tempest.lib base test instead of using the oslotest base test. Change-Id: Ifdf8b426c21e4b3a51f97cbc3d95eb842eb04515 --- barbican_tempest_plugin/tests/base.py | 2 +- test-requirements.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/barbican_tempest_plugin/tests/base.py b/barbican_tempest_plugin/tests/base.py index 1f97635..600ba80 100644 --- a/barbican_tempest_plugin/tests/base.py +++ b/barbican_tempest_plugin/tests/base.py @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. -from oslotest import base +from tempest.lib import base class TestCase(base.BaseTestCase): diff --git a/test-requirements.txt b/test-requirements.txt index 85ae707..2bf9f2e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,7 +7,6 @@ hacking>=0.12.0,<0.13 # Apache-2.0 python-subunit>=0.0.18 # Apache-2.0/BSD sphinx>=1.2.1,!=1.3b1,<1.4 # BSD oslosphinx>=4.7.0 # Apache-2.0 -oslotest>=1.10.0 # Apache-2.0 testrepository>=0.0.18 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD testtools>=1.4.0 # MIT