summaryrefslogtreecommitdiff
path: root/tempest/api/compute/admin/test_hosts.py
diff options
context:
space:
mode:
authorAndrea Frittoli <andrea.frittoli@hp.com>2014-09-15 12:34:27 +0100
committerAndrea Frittoli <andrea.frittoli@hp.com>2014-09-18 21:47:21 +0100
commit50bb80dd3c57885054a61d4535f8f7f03c59eacf (patch)
tree9467c219f4a1bf5ccc97507fa874e5061755e143 /tempest/api/compute/admin/test_hosts.py
parent73ee247eebc92ed6ab5d16cacd373dd76722dd8e (diff)
downloadtempest-50bb80dd3c57885054a61d4535f8f7f03c59eacf.tar.gz
Migrate computev2 API tests to resource_* fixtures
Partially-implements bp:resource-cleanup Change-Id: I59eb2d9789368c812282ce12ae7e571be720badb
Diffstat (limited to 'tempest/api/compute/admin/test_hosts.py')
-rw-r--r--tempest/api/compute/admin/test_hosts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tempest/api/compute/admin/test_hosts.py b/tempest/api/compute/admin/test_hosts.py
index e61256623..bcae49245 100644
--- a/tempest/api/compute/admin/test_hosts.py
+++ b/tempest/api/compute/admin/test_hosts.py
@@ -24,8 +24,8 @@ class HostsAdminTestJSON(base.BaseV2ComputeAdminTest):
"""
@classmethod
- def setUpClass(cls):
- super(HostsAdminTestJSON, cls).setUpClass()
+ def resource_setup(cls):
+ super(HostsAdminTestJSON, cls).resource_setup()
cls.client = cls.os_adm.hosts_client
@test.attr(type='gate')