Use the encryption provider constants (2)

Follow-up of I05b0200b80d8ae957caaa53d5006b050d2d49da6
which fixes also the other leftover usage of a legacy
encryptor class (plain this time).

Change-Id: I8fc4e2e6ed84bf18a4c89c30ee5c40b743d00e46
This commit is contained in:
Luigi Toscano 2021-05-07 14:44:36 +02:00
parent e654464aa5
commit 990536bb6c
1 changed files with 1 additions and 2 deletions

View File

@ -133,7 +133,6 @@ class VolumeEncryptionTest(barbican_manager.BarbicanScenarioTest):
self.check_tenant_network_connectivity(
server, CONF.validation.image_ssh_user, keypair['private_key'])
volume = self.create_encrypted_volume('nova.volume.encryptors.'
'cryptsetup.CryptsetupEncryptor',
volume = self.create_encrypted_volume('plain',
volume_type='cryptsetup')
self.attach_detach_volume(server, volume, keypair)