Merge "Make HostManager.get_all_host_states() return an iterator"

This commit is contained in:
Jenkins
2012-11-08 18:02:26 +00:00
committed by Gerrit Code Review

View File

@@ -41,7 +41,7 @@ class LeastCostTestCase(test.TestCase):
fakes.mox_host_manager_db_calls(self.mox, ctxt)
self.mox.ReplayAll()
host_states = self.host_manager.get_all_host_states(ctxt,
'compute').values()
'compute')
self.mox.VerifyAll()
self.mox.ResetAll()
return host_states