summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Prince <dan.prince@rackspace.com>2011-09-13 21:13:58 -0400
committerDan Prince <dan.prince@rackspace.com>2011-09-13 21:13:58 -0400
commit4eb704e9024111c80f6f7c83810a08d7eec5c4af (patch)
tree6658cf0b6cd84dc510be41d2372b2705da928c2f
parent4941d62b35792a450c2b83d6c82f820f48562433 (diff)
downloadnova-4eb704e9024111c80f6f7c83810a08d7eec5c4af.tar.gz
nova-4eb704e9024111c80f6f7c83810a08d7eec5c4af.tar.xz
nova-4eb704e9024111c80f6f7c83810a08d7eec5c4af.zip
last of the api.openstack.test_images merge fixes.
-rw-r--r--nova/tests/api/openstack/test_images.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/nova/tests/api/openstack/test_images.py b/nova/tests/api/openstack/test_images.py
index 6890e0e9e..e054ffd03 100644
--- a/nova/tests/api/openstack/test_images.py
+++ b/nova/tests/api/openstack/test_images.py
@@ -821,7 +821,7 @@ class ImageControllerWithGlanceServiceTest(test.TestCase):
}],
},
{
- 'id': 128,
+ 'id': '128',
'name': 'deleted snapshot',
'metadata': {
u'instance_ref': u'http://localhost/v1.1/servers/42',
@@ -832,7 +832,7 @@ class ImageControllerWithGlanceServiceTest(test.TestCase):
'status': 'DELETED',
'progress': 0,
'server': {
- 'id': 42,
+ 'id': '42',
"links": [{
"rel": "self",
"href": server_href,
@@ -852,7 +852,7 @@ class ImageControllerWithGlanceServiceTest(test.TestCase):
}],
},
{
- 'id': 129,
+ 'id': '129',
'name': 'pending_delete snapshot',
'metadata': {
u'instance_ref': u'http://localhost/v1.1/servers/42',
@@ -863,7 +863,7 @@ class ImageControllerWithGlanceServiceTest(test.TestCase):
'status': 'DELETED',
'progress': 0,
'server': {
- 'id': 42,
+ 'id': '42',
"links": [{
"rel": "self",
"href": server_href,
@@ -914,7 +914,7 @@ class ImageControllerWithGlanceServiceTest(test.TestCase):
}],
},
{
- 'id': 132,
+ 'id': '132',
'name': None,
'metadata': {},
'updated': self.NOW_API_FORMAT,
@@ -1224,7 +1224,7 @@ class ImageControllerWithGlanceServiceTest(test.TestCase):
# Snapshots for User 1
server_ref = 'http://localhost/v1.1/servers/42'
snapshot_properties = {'instance_ref': server_ref, 'user_id': 'fake'}
- statuses = ('queued', 'saving', 'active','killed',
+ statuses = ('queued', 'saving', 'active', 'killed',
'deleted', 'pending_delete')
for status in statuses:
add_fixture(id=image_id, name='%s snapshot' % status,