From 4181a4e1905926466953693ecbfaf12b8ad6abf5 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Tue, 29 Dec 2020 15:09:00 -0600 Subject: [PATCH] Switch to use stable data_utils Tempest provides stable library interfaces under tempest.lib. This patch switches to use it for data_utils. Tempest will remove the deprecated version of data_utils in https://review.opendev.org/c/openstack/tempest/+/499869 Change-Id: I134539b32af99dc772535576e60ac9c5d0d02e6b --- ranger_tempest_plugin/tests/api/cms_base.py | 3 +-- ranger_tempest_plugin/tests/api/ims_base.py | 3 +-- requirements.txt | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ranger_tempest_plugin/tests/api/cms_base.py b/ranger_tempest_plugin/tests/api/cms_base.py index ae895a4..f610faa 100755 --- a/ranger_tempest_plugin/tests/api/cms_base.py +++ b/ranger_tempest_plugin/tests/api/cms_base.py @@ -21,9 +21,8 @@ from oslo_log import log as logging from ranger_tempest_plugin.tests.api import base from tempest import config - -from tempest.common.utils import data_utils from tempest.lib import exceptions +from tempest.lib.common.utils import data_utils CONF = config.CONF LOG = logging.getLogger(__name__) diff --git a/ranger_tempest_plugin/tests/api/ims_base.py b/ranger_tempest_plugin/tests/api/ims_base.py index 96dcd0f..d5d74a0 100755 --- a/ranger_tempest_plugin/tests/api/ims_base.py +++ b/ranger_tempest_plugin/tests/api/ims_base.py @@ -20,9 +20,8 @@ from oslo_log import log as logging from ranger_tempest_plugin.tests.api import base from tempest import config - -from tempest.common.utils import data_utils from tempest.lib import exceptions +from tempest.lib.common.utils import data_utils CONF = config.CONF LOG = logging.getLogger(__name__) diff --git a/requirements.txt b/requirements.txt index 6cf145c..d6173a4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,6 @@ # process, which may cause wedges in the gate later. flake8>=3.8 -hacking>=0.12.0,<0.13 # Apache-2.0 coverage>=4.0,!=4.4 # Apache-2.0 oslo.config>=5.2.0 # Apache-2.0 oslo.i18n>=3.15.3 # Apache-2.0