summaryrefslogtreecommitdiff
path: root/tempest/api/compute/admin/test_security_groups.py
diff options
context:
space:
mode:
authorAndrea Frittoli <andrea.frittoli@gmail.com>2017-08-14 21:37:56 +0100
committerAndrea Frittoli <andrea.frittoli@gmail.com>2017-08-23 17:09:33 +0000
commitcd36841ca25b39b9c8ad1b83e0abd0a191d538a0 (patch)
tree445b8cb58910c16cd8292005e7bf5c091078392f /tempest/api/compute/admin/test_security_groups.py
parentac9500a4572abc10465c0c59b1b9cc60c25b5621 (diff)
downloadtempest-cd36841ca25b39b9c8ad1b83e0abd0a191d538a0.tar.gz
Move test decorators to common
services and extension decorators are based on CONF and needed by Tempest only, so moving them to tempest.common. Since a few plugnis use them today, use debtcollector to avoid breaking all dependencies. Change-Id: Ibd52153d00b8e60fb8c89e38d94e358ddc787251
Diffstat (limited to 'tempest/api/compute/admin/test_security_groups.py')
-rw-r--r--tempest/api/compute/admin/test_security_groups.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tempest/api/compute/admin/test_security_groups.py b/tempest/api/compute/admin/test_security_groups.py
index 8abe03aac..ff9caa3b4 100644
--- a/tempest/api/compute/admin/test_security_groups.py
+++ b/tempest/api/compute/admin/test_security_groups.py
@@ -14,9 +14,9 @@
# under the License.
from tempest.api.compute import base
+from tempest.common import utils
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
-from tempest import test
class SecurityGroupsTestAdminJSON(base.BaseV2ComputeAdminTest):
@@ -34,7 +34,7 @@ class SecurityGroupsTestAdminJSON(base.BaseV2ComputeAdminTest):
self.client.delete_security_group(securitygroup_id)
@decorators.idempotent_id('49667619-5af9-4c63-ab5d-2cfdd1c8f7f1')
- @test.services('network')
+ @utils.services('network')
def test_list_security_groups_list_all_tenants_filter(self):
# Admin can list security groups of all tenants
# List of all security groups created