summaryrefslogtreecommitdiff
path: root/tempest/api/compute/base.py
diff options
context:
space:
mode:
authorDavid Kranz <dkranz@redhat.com>2014-06-24 16:04:57 -0400
committerDavid Kranz <dkranz@redhat.com>2014-06-24 16:04:57 -0400
commitda5d4ecbd398424e475c29f2186d6aef1a414fcb (patch)
tree4abc1066bcefa3e064b0ba0e526a269cecc61f0b /tempest/api/compute/base.py
parent079bf98c183e6cee4a88745e96f5c1c6e269e973 (diff)
downloadtempest-da5d4ecbd398424e475c29f2186d6aef1a414fcb.tar.gz
Add 'id' to the server group cleanup list, not body
Change-Id: If55855d6c104dcd01d648688d2b9d7c2953a9a25 Closes-Bug: 1333965
Diffstat (limited to 'tempest/api/compute/base.py')
-rw-r--r--tempest/api/compute/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tempest/api/compute/base.py b/tempest/api/compute/base.py
index 7c70aecbb..a1aaa953b 100644
--- a/tempest/api/compute/base.py
+++ b/tempest/api/compute/base.py
@@ -270,7 +270,7 @@ class BaseComputeTest(tempest.test.BaseTestCase):
if not policy:
policy = ['affinity']
resp, body = cls.servers_client.create_server_group(name, policy)
- cls.server_groups.append(body)
+ cls.server_groups.append(body['id'])
return resp, body
def wait_for(self, condition):