diff --git a/nova/tests/functional/api/openstack/placement/test_report_client.py b/nova/tests/functional/api/openstack/placement/test_report_client.py index 0e1570302..22fd7d6d7 100644 --- a/nova/tests/functional/api/openstack/placement/test_report_client.py +++ b/nova/tests/functional/api/openstack/placement/test_report_client.py @@ -121,6 +121,8 @@ class SchedulerReportClientTests(test.TestCase): pam = self.client._provider_aggregate_map self.assertIn(self.compute_uuid, pam) 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 # to the report client to retrieve inventory?