From 7f4cde72b6c83c3b927a0d72ef1de4cf7ae2da57 Mon Sep 17 00:00:00 2001 From: Peter Razumovsky Date: Tue, 25 Nov 2014 19:11:31 +0300 Subject: [PATCH] Fix [H302] errors in heat_integrationtests Change-Id: I116e55685e1ee11a0c58c9b33c00cfc0e9f42efe --- heat_integrationtests/scenario/test_volumes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/heat_integrationtests/scenario/test_volumes.py b/heat_integrationtests/scenario/test_volumes.py index a654f861e1..fe9ec03060 100644 --- a/heat_integrationtests/scenario/test_volumes.py +++ b/heat_integrationtests/scenario/test_volumes.py @@ -12,7 +12,7 @@ import logging import six -from testtools.testcase import skip +from testtools import testcase from cinderclient import exceptions as cinder_exceptions @@ -77,7 +77,8 @@ class VolumeBackupRestoreIntegrationTest(test.HeatIntegrationTest): self._wait_for_stack_status(stack_identifier, 'CREATE_COMPLETE') return stack, stack_identifier - @skip('Skipped until failure rate can be reduced ref bug #1382300') + @testcase.skip('Skipped until failure rate ' + 'can be reduced ref bug #1382300') def test_cinder_volume_create_backup_restore(self): """Ensure the 'Snapshot' deletion policy works.