From 26a8afd85233e142f97fdcc802c41b9a765efb32 Mon Sep 17 00:00:00 2001 From: Trey Morris Date: Thu, 23 Dec 2010 23:27:39 +0000 Subject: applied power state conversion to test --- nova/tests/api/openstack/test_images.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit