Merge "SchedulerReportClient._get_providers_in_aggregates"
This commit is contained in:
commit
a841b4f036
@ -121,6 +121,8 @@ class SchedulerReportClientTests(test.TestCase):
|
|||||||
pam = self.client._provider_aggregate_map
|
pam = self.client._provider_aggregate_map
|
||||||
self.assertIn(self.compute_uuid, pam)
|
self.assertIn(self.compute_uuid, pam)
|
||||||
self.assertEqual(set(), pam[self.compute_uuid])
|
self.assertEqual(set(), pam[self.compute_uuid])
|
||||||
|
self.assertEqual(
|
||||||
|
[], self.client._get_providers_in_aggregates([uuids.agg]))
|
||||||
|
|
||||||
# TODO(cdent): change this to use the methods built in
|
# TODO(cdent): change this to use the methods built in
|
||||||
# to the report client to retrieve inventory?
|
# to the report client to retrieve inventory?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user