summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2011-10-12 01:19:16 +0000
committerGerrit Code Review <review@openstack.org>2011-10-12 01:19:16 +0000
commite95e923f2bee1fa3e5005bb99ec0d41e4931cec8 (patch)
tree92632cc0ddc54e2f0de2a6bc8ed73ffcc2b4c4eb /nova/tests
parent5ac67d89eb0f3484f78c61f471e72a42972fe4ff (diff)
parentb84d71c6bcca04a47407ea8491911b8584e395bb (diff)
Merge "Updating image progress to be more granular. Before, the image progress had only 2 states, 0 and 100. Now it can be 0, 25, 50 or 100."
Diffstat (limited to 'nova/tests')
-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 05d398478..5e32ccf42 100644
--- a/nova/tests/api/openstack/test_images.py
+++ b/nova/tests/api/openstack/test_images.py
@@ -133,7 +133,7 @@ class ImagesTest(test.TestCase):
"updated": NOW_API_FORMAT,
"created": NOW_API_FORMAT,
"status": "SAVING",
- "progress": 0,
+ "progress": 25,
"minDisk": 0,
"minRam": 0,
'server': {
@@ -587,7 +587,7 @@ class ImagesTest(test.TestCase):
'updated': NOW_API_FORMAT,
'created': NOW_API_FORMAT,
'status': 'SAVING',
- 'progress': 0,
+ 'progress': 25,
},
{
'id': 125,
@@ -595,7 +595,7 @@ class ImagesTest(test.TestCase):
'updated': NOW_API_FORMAT,
'created': NOW_API_FORMAT,
'status': 'SAVING',
- 'progress': 0,
+ 'progress': 50,
},
{
'id': 126,
@@ -685,7 +685,7 @@ class ImagesTest(test.TestCase):
'updated': NOW_API_FORMAT,
'created': NOW_API_FORMAT,
'status': 'SAVING',
- 'progress': 0,
+ 'progress': 25,
'minDisk': 0,
'minRam': 0,
'server': {
@@ -723,7 +723,7 @@ class ImagesTest(test.TestCase):
'updated': NOW_API_FORMAT,
'created': NOW_API_FORMAT,
'status': 'SAVING',
- 'progress': 0,
+ 'progress': 50,
'minDisk': 0,
'minRam': 0,
'server': {
@@ -978,7 +978,7 @@ class ImagesTest(test.TestCase):
'created': NOW_API_FORMAT,
'status': 'SAVING',
'minDisk': 0,
- 'progress': 0,
+ 'progress': 25,
'minRam': 0,
'server': {
'id': '42',