summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorAlex Meade <alex.meade@rackspace.com>2011-07-12 12:46:15 -0400
committerAlex Meade <alex.meade@rackspace.com>2011-07-12 12:46:15 -0400
commit3c8de7e99e7cd8868f63fb0d15845b2462b77b3e (patch)
tree8436c48db8ebda855384bd2cda564ef62b0a2153 /nova/tests
parent5ab2fd27ea930669c01f309dbbfb794fd7c37ad6 (diff)
Updated images viewbuilder to return links in server entity
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/api/openstack/test_images.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/api/openstack/test_images.py b/nova/tests/api/openstack/test_images.py
index 696493d4f..c1ead6e28 100644
--- a/nova/tests/api/openstack/test_images.py
+++ b/nova/tests/api/openstack/test_images.py
@@ -1096,7 +1096,7 @@ class ImageControllerWithGlanceServiceTest(test.TestCase):
self.assertEqual(200, response.status_int)
result = json.loads(response.body)
expected = {
- 'id': '1',
+ 'id': 1,
'links': [
{
'rel': 'self',
@@ -1123,7 +1123,7 @@ class ImageControllerWithGlanceServiceTest(test.TestCase):
self.assertEqual(200, response.status_int)
result = json.loads(response.body)
expected = {
- 'id': '1',
+ 'id': 1,
'links': [
{
'rel': 'self',