Codebase list cinder-tempest-plugin / 56ace0a
Modify path for APIMicroversionFixture The path 'tempest.api.volume.api_microversion_fixture.APIMicroversionFixture' is deprecated and produces a deprecation warning[1] when running tests. The deprecated path will be removed in Zed and we should use the path 'tempest.lib.common.api_microversion_fixture.APIMicroversionFixture' instead. [1] 2022-04-22 14:00:28,241 843455 WARNING [tempest.api.volume.api_microversion_fixture] APIMicroversionFixture class is deprecated and moved to tempest.lib.common.api_microversion_fixture.APIMicroversionFixture. It will be removed in Z cycle. Change-Id: Ie7f16f9671e3c2392a9f2ae1071d84915b48a85e whoami-rajat 4 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1212 # License for the specific language governing permissions and limitations
1313 # under the License.
1414
15 from tempest.api.volume import api_microversion_fixture
1615 from tempest.common import compute
1716 from tempest.common import waiters
1817 from tempest import config
18 from tempest.lib.common import api_microversion_fixture
1919 from tempest.lib.common import api_version_utils
2020 from tempest.lib.common.utils import data_utils
2121 from tempest.lib.common.utils import test_utils
5757 def setUp(self):
5858 super(BaseVolumeTest, self).setUp()
5959 self.useFixture(api_microversion_fixture.APIMicroversionFixture(
60 self.request_microversion))
60 volume_microversion=self.request_microversion))
6161
6262 @classmethod
6363 def resource_setup(cls):