From a9d3bf9f4a0094cde2e2912bf5e908e0986a2833 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Fri, 8 Dec 2023 17:49:11 +0100 Subject: [PATCH] Use compute-feature-enabled as the config group name The tempest config group name is compute-feature-enabled the python code needs to use CONF.compute_feature_enabled to access that group. But the test skipping message should point to the group config name instead of the python variable name to avoid confusion Change-Id: I5b852d9f8dbb9392329d82c70a1686f96628a5e8 --- whitebox_tempest_plugin/api/compute/test_vtpm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whitebox_tempest_plugin/api/compute/test_vtpm.py b/whitebox_tempest_plugin/api/compute/test_vtpm.py index 1c074d81..d8f35003 100644 --- a/whitebox_tempest_plugin/api/compute/test_vtpm.py +++ b/whitebox_tempest_plugin/api/compute/test_vtpm.py @@ -34,7 +34,7 @@ class VTPMTest(base.BaseWhiteboxComputeTest): def skip_checks(cls): super(VTPMTest, cls).skip_checks() if (CONF.compute_feature_enabled.vtpm_device_supported is False): - msg = "CONF.compute_feature_enabled.vtpm_device_supported must " \ + msg = "[compute-feature-enabled]vtpm_device_supported must " \ "be set." raise cls.skipException(msg)