summaryrefslogtreecommitdiff
path: root/tempest/api/compute/admin/test_fixed_ips.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-03-11 03:05:56 +0000
committerGerrit Code Review <review@openstack.org>2014-03-11 03:05:56 +0000
commitbf48c0bfd0504b6c396cc403a9a922151f0b1632 (patch)
treed1d5aad5df7c2c4ba887e7014d5309efef42949b /tempest/api/compute/admin/test_fixed_ips.py
parenta618bb674fc8672b394e9400e1676be1f0626ccb (diff)
parent394d8d9820b2161f554a20294932710b77c541df (diff)
downloadtempest-bf48c0bfd0504b6c396cc403a9a922151f0b1632.tar.gz
Merge "Prepare for enabling H302 rule (api/compute/admin)"
Diffstat (limited to 'tempest/api/compute/admin/test_fixed_ips.py')
-rw-r--r--tempest/api/compute/admin/test_fixed_ips.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tempest/api/compute/admin/test_fixed_ips.py b/tempest/api/compute/admin/test_fixed_ips.py
index 00bb9c365..b0692b145 100644
--- a/tempest/api/compute/admin/test_fixed_ips.py
+++ b/tempest/api/compute/admin/test_fixed_ips.py
@@ -15,7 +15,7 @@
from tempest.api.compute import base
from tempest import config
-from tempest.test import attr
+from tempest import test
CONF = config.CONF
@@ -39,18 +39,18 @@ class FixedIPsTestJson(base.BaseV2ComputeAdminTest):
if cls.ip:
break
- @attr(type='gate')
+ @test.attr(type='gate')
def test_list_fixed_ip_details(self):
resp, fixed_ip = self.client.get_fixed_ip_details(self.ip)
self.assertEqual(fixed_ip['address'], self.ip)
- @attr(type='gate')
+ @test.attr(type='gate')
def test_set_reserve(self):
body = {"reserve": "None"}
resp, body = self.client.reserve_fixed_ip(self.ip, body)
self.assertEqual(resp.status, 202)
- @attr(type='gate')
+ @test.attr(type='gate')
def test_set_unreserve(self):
body = {"unreserve": "None"}
resp, body = self.client.reserve_fixed_ip(self.ip, body)