Add smoke decorator for barbican tests.
Change-Id: I2be4499baafde99a95aa47276b756d0b7f4ced6d
PROD: PROD-19459
(cherry picked from commit 793625dbcc12b6f43f00717fd8aee55fa68dcf3a)
diff --git a/barbican_tempest_plugin/tests/api/test_consumers.py b/barbican_tempest_plugin/tests/api/test_consumers.py
index 606ae0e..1f003ec 100644
--- a/barbican_tempest_plugin/tests/api/test_consumers.py
+++ b/barbican_tempest_plugin/tests/api/test_consumers.py
@@ -20,6 +20,7 @@
class ConsumersTest(base.BaseKeyManagerTest):
"""Containers API tests."""
+ @decorators.attr(type='smoke')
@decorators.idempotent_id('7d46a170-6b3b-4f4d-903a-b29aebb93289')
def test_add_delete_consumers_in_container(self):
# Create a container to test against
diff --git a/barbican_tempest_plugin/tests/api/test_orders.py b/barbican_tempest_plugin/tests/api/test_orders.py
index 0dff2fa..13c943f 100644
--- a/barbican_tempest_plugin/tests/api/test_orders.py
+++ b/barbican_tempest_plugin/tests/api/test_orders.py
@@ -22,6 +22,7 @@
class OrdersTest(base.BaseKeyManagerTest):
"""Orders API tests."""
+ @decorators.attr(type='smoke')
@decorators.idempotent_id('077c1729-1950-4e62-a29c-daba4aa186ad')
def test_create_list_delete_orders(self):
# Confirm that there are no orders
diff --git a/barbican_tempest_plugin/tests/scenario/test_image_signing.py b/barbican_tempest_plugin/tests/scenario/test_image_signing.py
index 1d662f1..175563d 100644
--- a/barbican_tempest_plugin/tests/scenario/test_image_signing.py
+++ b/barbican_tempest_plugin/tests/scenario/test_image_signing.py
@@ -44,6 +44,7 @@
cls.min_microversion,
CONF.compute.min_microversion))
+ @decorators.attr(type='smoke')
@decorators.idempotent_id('4343df3c-5553-40ea-8705-0cce73b297a9')
@utils.services('compute', 'image')
def test_signed_image_upload_and_boot(self):
@@ -66,6 +67,7 @@
wait_until='ACTIVE')
self.servers_client.delete_server(instance['id'])
+ @decorators.attr(type='smoke')
@decorators.idempotent_id('74f022d6-a6ef-4458-96b7-541deadacf99')
@utils.services('compute', 'image')
@testtools.skipUnless(CONF.image_signature_verification.enforced,