Set smoke/gate attributes for tests in "compute"
Change-Id: I3f6d496bd88b10f780b168caeb4b62d9138ae8e4
Implements: blueprint set-gate-attribute
diff --git a/tempest/api/compute/admin/test_services.py b/tempest/api/compute/admin/test_services.py
index aacfe8a..db7928a 100644
--- a/tempest/api/compute/admin/test_services.py
+++ b/tempest/api/compute/admin/test_services.py
@@ -34,14 +34,14 @@
cls.client = cls.os_adm.services_client
cls.non_admin_client = cls.services_client
- @attr(type='positive')
+ @attr(type=['positive', 'gate'])
def test_list_services(self):
# List Compute services
resp, services = self.client.list_services()
self.assertEqual(200, resp.status)
self.assertTrue(len(services) >= 2)
- @attr(type='negative')
+ @attr(type=['negative', 'gate'])
def test_list_services_with_non_admin_user(self):
# List Compute service with non admin user
self.assertRaises(exceptions.Unauthorized,