Add smoke decorator for barbican tests.
Change-Id: I2be4499baafde99a95aa47276b756d0b7f4ced6d
PROD: PROD-18630
(cherry picked from commit 793625dbcc12b6f43f00717fd8aee55fa68dcf3a)
Change-Id: I6f2e946e47bceb88d9939af3c685824a8a919f68
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 de8791b..5a3d233 100644
--- a/barbican_tempest_plugin/tests/api/test_orders.py
+++ b/barbican_tempest_plugin/tests/api/test_orders.py
@@ -20,6 +20,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 d641f28..ef8d1b7 100644
--- a/barbican_tempest_plugin/tests/scenario/test_image_signing.py
+++ b/barbican_tempest_plugin/tests/scenario/test_image_signing.py
@@ -26,6 +26,7 @@
class ImageSigningTest(barbican_manager.BarbicanScenarioTest):
+ @decorators.attr(type='smoke')
@decorators.idempotent_id('4343df3c-5553-40ea-8705-0cce73b297a9')
@utils.services('compute', 'image')
def test_signed_image_upload_and_boot(self):
@@ -48,6 +49,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')
def test_signed_image_upload_boot_failure(self):