Merge "Init placement client in tempest Manager object"

This commit is contained in:
Zuul 2019-04-02 01:32:31 +00:00 committed by Gerrit Code Review
commit b3a16b5d4f
2 changed files with 4 additions and 2 deletions

View File

@ -44,6 +44,7 @@ class Manager(clients.ServiceClients):
self._set_object_storage_clients()
self._set_image_clients()
self._set_network_clients()
self.placement_client = self.placement.PlacementClient()
# TODO(andreaf) This is maintained for backward compatibility
# with plugins, but it should removed eventually, since it was
# never a stable interface and it's not useful anyways

View File

@ -37,8 +37,9 @@ class RegistryFixture(fixtures.Fixture):
def __init__(self):
"""Initialise the registry fixture"""
self.services = set(['compute', 'identity.v2', 'identity.v3',
'image.v1', 'image.v2', 'network', 'volume.v1',
'volume.v2', 'volume.v3', 'object-storage'])
'image.v1', 'image.v2', 'network', 'placement',
'volume.v1', 'volume.v2', 'volume.v3',
'object-storage'])
def _setUp(self):
# Cleanup the registry