Consolidate multiple @utils.services decorators into one
Replaces multiple stacked @utils.services decorators with
a single call that includes all required services.
Change-Id: Ica2e7a4b2260c6b8bd7f89dcaf565c4a39179c6b
diff --git a/cinder_tempest_plugin/scenario/test_volume_encrypted.py b/cinder_tempest_plugin/scenario/test_volume_encrypted.py
index 69b0ab2..868695a 100644
--- a/cinder_tempest_plugin/scenario/test_volume_encrypted.py
+++ b/cinder_tempest_plugin/scenario/test_volume_encrypted.py
@@ -76,8 +76,7 @@
**kwargs)
@decorators.idempotent_id('5bb622ab-5060-48a8-8840-d589a548b9e4')
- @utils.services('volume')
- @utils.services('compute')
+ @utils.services('compute', 'volume')
def test_attach_cloned_encrypted_volume(self):
"""This test case attempts to reproduce the following steps:
@@ -111,9 +110,7 @@
self.attach_detach_volume(server, volume_source)
@decorators.idempotent_id('5bb622ab-5060-48a8-8840-d589a548b7e4')
- @utils.services('volume')
- @utils.services('compute')
- @utils.services('image')
+ @utils.services('volume', 'compute', 'image')
def test_boot_cloned_encrypted_volume(self):
"""This test case attempts to reproduce the following steps: