From 6a428b32c425f48bc992ff33d201a2288eedeb89 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Fri, 16 Aug 2024 12:27:55 -0400 Subject: [PATCH] Support hacking 7.0.0 Change-Id: I2ee62fadbceede6f7220b2c0c4be222e8b01bbea --- cinder/tests/unit/volume/drivers/ibm/test_storwize_svc.py | 2 +- test-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder/tests/unit/volume/drivers/ibm/test_storwize_svc.py b/cinder/tests/unit/volume/drivers/ibm/test_storwize_svc.py index 3af22c8aa95..7252086db55 100644 --- a/cinder/tests/unit/volume/drivers/ibm/test_storwize_svc.py +++ b/cinder/tests/unit/volume/drivers/ibm/test_storwize_svc.py @@ -8939,7 +8939,7 @@ class StorwizeSVCCommonDriverTestCase(test.TestCase): lsmdiskgrp.assert_not_called() self.assertEqual(0, lsmdiskgrp.call_count) - @ mock.patch.object(storwize_svc_common.StorwizeSSH, 'lsmdiskgrp') + @mock.patch.object(storwize_svc_common.StorwizeSSH, 'lsmdiskgrp') def test_storwize_svc_select_iogrp_with_pool_site(self, lsmdiskgrp): opts = {} state = self.driver._state diff --git a/test-requirements.txt b/test-requirements.txt index aad135c511c..b44a163dee5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,7 +3,7 @@ # process, which may cause wedges in the gate later. # Install bounded pep8/pyflakes first, then let flake8 install -hacking>=6.1.0,<6.2.0 # Apache-2.0 +hacking>=7.0.0,<7.1.0 # Apache-2.0 flake8-import-order # LGPLv3 flake8-logging-format>=0.6.0 # Apache-2.0