From 617a93d0b66f254603953f803e2ce9e3a2464d4d Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 22 Mar 2022 11:24:24 +0000 Subject: [PATCH] requirements: Bump python-openstackclient version Allows us to resolve a long-standing TODO by removing mock in the process. Change-Id: If9688c121f57822bb17559d8fe580fabf2d08af3 Signed-off-by: Stephen Finucane Signed-off-by: Goutham Pacha Ravi --- manilaclient/tests/unit/osc/v2/test_quotas.py | 5 ++--- test-requirements.txt | 6 +----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/manilaclient/tests/unit/osc/v2/test_quotas.py b/manilaclient/tests/unit/osc/v2/test_quotas.py index db3a6ce19..d3cb93b34 100644 --- a/manilaclient/tests/unit/osc/v2/test_quotas.py +++ b/manilaclient/tests/unit/osc/v2/test_quotas.py @@ -11,11 +11,10 @@ # under the License. # -import mock - -from osc_lib import exceptions +from unittest import mock from openstackclient.tests.unit.identity.v3 import fakes as identity_fakes +from osc_lib import exceptions from manilaclient import api_versions from manilaclient.common.apiclient.exceptions import BadRequest diff --git a/test-requirements.txt b/test-requirements.txt index 7380261d4..6a9d95225 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,11 +3,7 @@ hacking>=3.0.1,<3.1.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 ddt>=1.0.1 # MIT fixtures>=3.0.0 # Apache-2.0/BSD -# Can be removed in Victoria cycle, when we raise the requirement of -# python-openstackclient in this file to a version that no longer -# requires mock. See: https://review.opendev.org/717410/ -mock>=2.0.0 # BSD stestr>=2.0.0 # Apache-2.0 tempest>=17.1.0 # Apache-2.0 testtools>=2.2.0 # MIT -python-openstackclient>=3.12.0 # Apache-2.0 +python-openstackclient>=5.3.0 # Apache-2.0