From 4328fd77b0ce5a787180865bff8d86e104dc3acf Mon Sep 17 00:00:00 2001 From: Jan Musial Date: Mon, 13 Jun 2022 12:12:45 +0200 Subject: [PATCH] pyocf: don't store UUIDs in Cache object Signed-off-by: Jan Musial --- tests/functional/pyocf/types/cache.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/functional/pyocf/types/cache.py b/tests/functional/pyocf/types/cache.py index 435aba2..c087bf4 100644 --- a/tests/functional/pyocf/types/cache.py +++ b/tests/functional/pyocf/types/cache.py @@ -577,7 +577,6 @@ class Cache: disable_cleaner=False, ): self.device = device - self.device_name = device.uuid device_config = self.alloc_device_config(device, perform_test=perform_test) @@ -609,7 +608,6 @@ class Cache: def standby_attach(self, device, force=False, disable_cleaner=False): self.device = device - self.device_name = device.uuid device_config = self.alloc_device_config(device, perform_test=False) @@ -641,7 +639,6 @@ class Cache: def standby_load(self, device, perform_test=True, disable_cleaner=False): self.device = device - self.device_name = device.uuid device_config = self.alloc_device_config(device, perform_test=perform_test) @@ -682,7 +679,6 @@ class Cache: def load_cache(self, device, open_cores=True, disable_cleaner=False): self.device = device - self.device_name = device.uuid device_config = self.alloc_device_config(device)