diff options
| author | Trey Morris <trey.morris@rackspace.com> | 2010-12-23 23:27:39 +0000 |
|---|---|---|
| committer | Trey Morris <trey.morris@rackspace.com> | 2010-12-23 23:27:39 +0000 |
| commit | 26a8afd85233e142f97fdcc802c41b9a765efb32 (patch) | |
| tree | 98c1f02314087cec57a72656d4c1733a28dc9ab7 | |
| parent | d8d66d4c2c25d25892289e08ca52720f9d123d88 (diff) | |
| download | nova-26a8afd85233e142f97fdcc802c41b9a765efb32.tar.gz nova-26a8afd85233e142f97fdcc802c41b9a765efb32.tar.xz nova-26a8afd85233e142f97fdcc802c41b9a765efb32.zip | |
applied power state conversion to test
| -rw-r--r-- | nova/tests/api/openstack/test_images.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/tests/api/openstack/test_images.py b/nova/tests/api/openstack/test_images.py index 16a910a3f..ec0119bfe 100644 --- a/nova/tests/api/openstack/test_images.py +++ b/nova/tests/api/openstack/test_images.py @@ -227,6 +227,8 @@ class ImageControllerWithGlanceServiceTest(unittest.TestCase): if set(x) <= set(y): for k, v in x.iteritems(): if x[k] != y[k]: + if x[k] == 'active' and y[k] == 'available': + next return False return True return False |
