From 3a58478b381247aecef0fc8eaa06b4183d06c3d6 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Thu, 31 Aug 2023 09:49:35 -0400 Subject: [PATCH] Tests: Quiet Fungible invalid UUID warnings FutureWarning: b"'mock_volume_type_id'" is an invalid UUID. Change-Id: Ieb072cc18db247ec02dc7d6d522d855234bfb216 --- cinder/tests/unit/volume/drivers/fungible/test_driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/tests/unit/volume/drivers/fungible/test_driver.py b/cinder/tests/unit/volume/drivers/fungible/test_driver.py index 645596e4d7f..b4d5302bbfe 100644 --- a/cinder/tests/unit/volume/drivers/fungible/test_driver.py +++ b/cinder/tests/unit/volume/drivers/fungible/test_driver.py @@ -102,7 +102,7 @@ class FungibleDriverTest(unittest.TestCase): volume.id = str(uuid.uuid4()) volume.display_name = 'volume' volume.host = 'mock_host_name' - volume.volume_type_id = 'mock_volume_type_id' + volume.volume_type_id = fake_constants.VOLUME_TYPE_ID volume.metadata = {} return volume