From 8f696b3219d0c30bbcd8ed89570a37de42a101b5 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 11 May 2023 12:07:24 +0900 Subject: [PATCH] Fix image_signature_verification group not register properly Change-Id: I32d4a5864c2cf9ec364167c6f7dada21a1a6bd46 --- barbican_tempest_plugin/plugin.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/barbican_tempest_plugin/plugin.py b/barbican_tempest_plugin/plugin.py index 7459cb4..f320007 100644 --- a/barbican_tempest_plugin/plugin.py +++ b/barbican_tempest_plugin/plugin.py @@ -13,7 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. -import itertools import os from tempest.test_discover import plugins @@ -47,6 +46,8 @@ class BarbicanTempestPlugin(plugins.TempestPlugin): conf.register_group(project_config.ephemeral_storage_encryption_group) conf.register_opts(project_config.EphemeralStorageEncryptionGroup, project_config.ephemeral_storage_encryption_group) + + conf.register_group(project_config.image_signature_verification_group) conf.register_opts(project_config.ImageSignatureVerificationGroup, project_config.image_signature_verification_group) @@ -58,8 +59,9 @@ class BarbicanTempestPlugin(plugins.TempestPlugin): (project_config.barbican_tempest_group.name, project_config.barbican_tempest_group), (project_config.ephemeral_storage_encryption_group.name, - itertools.chain(project_config.EphemeralStorageEncryptionGroup, - project_config.ImageSignatureVerificationGroup)), + project_config.EphemeralStorageEncryptionGroup), + (project_config.image_signature_verification_group.name, + project_config.ImageSignatureVerificationGroup), ('enforce_scope', project_config.EnforceScopeGroup) ]