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
This commit is contained in:
parent
625a048e5f
commit
a9d3bf9f4a
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user