def setUp(self): self.host = '127.0.0.1' self.connection = connection(self.host) self._storage_systems = StorageSystems(self.connection) self._storage_systems.data = { 'uri': '/rest/storage-systems/ad28cf21-8b15-4f92-bdcf-51cb2042db32' }
def storage_systems(self): """ Gets the StorageSystems API client. Returns: StorageSystems: """ return StorageSystems(self.__connection)
def storage_systems(self): """ Gets the StorageSystems API client. Returns: StorageSystems: """ if not self.__storage_systems: self.__storage_systems = StorageSystems(self.__connection) return self.__storage_systems
def setUp(self): self.host = '127.0.0.1' self.connection = connection(self.host) self._storage_systems = StorageSystems(self.connection)
def storage_systems(self): if not self.__storage_systems: self.__storage_systems = StorageSystems(self.__connection) return self.__storage_systems