

def __init__(self, **kwargs):
    self.domains = mock.Mock()
    self.domains.resource_class = fakes.FakeResource(None, {
        
    })
    self.credentials = mock.Mock()
    self.credentials.resource_class = fakes.FakeResource(None, {
        
    })
    self.endpoints = mock.Mock()
    self.endpoints.resource_class = fakes.FakeResource(None, {
        
    })
    self.groups = mock.Mock()
    self.groups.resource_class = fakes.FakeResource(None, {
        
    })
    self.oauth1 = mock.Mock()
    self.oauth1.resource_class = fakes.FakeResource(None, {
        
    })
    self.projects = mock.Mock()
    self.projects.resource_class = fakes.FakeResource(None, {
        
    })
    self.regions = mock.Mock()
    self.regions.resource_class = fakes.FakeResource(None, {
        
    })
    self.roles = mock.Mock()
    self.roles.resource_class = fakes.FakeResource(None, {
        
    })
    self.services = mock.Mock()
    self.services.resource_class = fakes.FakeResource(None, {
        
    })
    self.session = mock.Mock()
    self.session.auth.auth_ref.service_catalog.resource_class = fakes.FakeResource(None, {
        
    })
    self.tokens = mock.Mock()
    self.tokens.resource_class = fakes.FakeResource(None, {
        
    })
    self.trusts = mock.Mock()
    self.trusts.resource_class = fakes.FakeResource(None, {
        
    })
    self.users = mock.Mock()
    self.users.resource_class = fakes.FakeResource(None, {
        
    })
    self.role_assignments = mock.Mock()
    kwargs.role_assignments.resource_class = fakes.FakeResource(None, {
        
    })
    self.auth_token = kwargs['token']
    self.management_url = kwargs['endpoint']

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/identity/v3/fakes.py FakeIdentityv3Client.__init__/VarMisuse@393/430 `self`->`kwargs`