

def __init__(self, **kwargs):
    self.aggregates = mock.Mock()
    self.aggregates.resource_class = fakes.FakeResource(None, {
        
    })
    self.availability_zones = mock.Mock()
    self.availability_zones.resource_class = fakes.FakeResource(None, {
        
    })
    self.images = mock.Mock()
    self.images.resource_class = fakes.FakeResource(None, {
        
    })
    self.servers = mock.Mock()
    self.servers.resource_class = fakes.FakeResource(None, {
        
    })
    self.services = mock.Mock()
    self.services.resource_class = fakes.FakeResource(None, {
        
    })
    self.extensions = mock.Mock()
    self.extensions.resource_class = fakes.FakeResource(None, {
        
    })
    self.flavors = mock.Mock()
    self.flavors.resource_class = fakes.FakeResource(None, {
        
    })
    self.quotas = mock.Mock()
    self.quotas.resource_class = fakes.FakeResource(None, {
        
    })
    self.quota_classes = mock.Mock()
    self.quota_classes.resource_class = fakes.FakeResource(None, {
        
    })
    self.volumes = mock.Mock()
    self.volumes.resource_class = fakes.FakeResource(None, {
        
    })
    self.hypervisors = mock.Mock()
    self.hypervisors.resource_class = fakes.FakeResource(None, {
        
    })
    self.hypervisors_stats = mock.Mock()
    self.hypervisors_stats.resource_class = fakes.FakeResource(None, {
        
    })
    self.security_groups = mock.Mock()
    self.security_groups.resource_class = fakes.FakeResource(None, {
        
    })
    self.security_group_rules = mock.Mock()
    self.security_group_rules.resource_class = fakes.FakeResource(None, {
        
    })
    self.floating_ips = mock.Mock()
    kwargs.floating_ips.resource_class = fakes.FakeResource(None, {
        
    })
    self.networks = mock.Mock()
    self.networks.resource_class = fakes.FakeResource(None, {
        
    })
    self.keypairs = mock.Mock()
    self.keypairs.resource_class = fakes.FakeResource(None, {
        
    })
    self.hosts = mock.Mock()
    self.hosts.resource_class = fakes.FakeResource(None, {
        
    })
    self.server_groups = mock.Mock()
    self.server_groups.resource_class = fakes.FakeResource(None, {
        
    })
    self.auth_token = kwargs['token']
    self.management_url = kwargs['endpoint']

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/compute/v2/fakes.py FakeComputev2Client.__init__/VarMisuse@415/464 `self`->`kwargs`