

def setUp(self):
    super(TestServiceProviderCreate, self).setUp()
    copied_sp = copy.deepcopy(service_fakes.SERVICE_PROVIDER)
    resource = fakes.FakeResource(None, copied_sp, loaded=True)
    self.service_providers_mock.create.return_value = resource
    self.cmd = service_provider.CreateServiceProvider(copied_sp.app, None)

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/identity/v3/test_service_provider.py TestServiceProviderCreate.setUp/VarMisuse@65/86 `self`->`copied_sp`