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
lkuchlan
11 months ago
| 75 | 75 | **kwargs) |
| 76 | 76 | |
| 77 | 77 | @decorators.idempotent_id('5bb622ab-5060-48a8-8840-d589a548b9e4') |
| 78 | @utils.services('volume') | |
| 79 | @utils.services('compute') | |
| 78 | @utils.services('compute', 'volume') | |
| 80 | 79 | def test_attach_cloned_encrypted_volume(self): |
| 81 | 80 | |
| 82 | 81 | """This test case attempts to reproduce the following steps: |
| 110 | 109 | self.attach_detach_volume(server, volume_source) |
| 111 | 110 | |
| 112 | 111 | @decorators.idempotent_id('5bb622ab-5060-48a8-8840-d589a548b7e4') |
| 113 | @utils.services('volume') | |
| 114 | @utils.services('compute') | |
| 115 | @utils.services('image') | |
| 112 | @utils.services('volume', 'compute', 'image') | |
| 116 | 113 | def test_boot_cloned_encrypted_volume(self): |
| 117 | 114 | |
| 118 | 115 | """This test case attempts to reproduce the following steps: |