Fix test_update_status unit test in Loadbalancer test suite

Add proper check of the updated object.

fixes bug 1212229

Change-Id: Icbe0a127a045ff93630dfa7f8d3fd6af771ddc5e
This commit is contained in:
Eugene Nikanorov 2013-08-14 16:53:22 +04:00
parent 748c58d1da
commit 47dca8211a

View File

@ -1237,7 +1237,7 @@ class TestLoadBalancer(LoadBalancerPluginDbTestCase):
updated_pool = self.plugin.get_pool(context.get_admin_context(),
pool['pool']['id'])
self.assertEqual(updated_pool['status'], 'ACTIVE')
self.assertFalse(pool['pool']['status_description'])
self.assertFalse(updated_pool['status_description'])
def test_update_pool_health_monitor(self):
with self.pool() as pool: