From 69488c200cede669dc90cb3dec4612f3f596ecc6 Mon Sep 17 00:00:00 2001 From: Steffen Maier Date: Wed, 15 Nov 2023 14:00:16 +0100 Subject: [PATCH] unit_tests: drop DASDDevice.opts like in related blivet change https://github.com/storaged-project/blivet/pull/1162#issuecomment-1771443131 removes DASDDevice.opts. Anticipating that blivet change, update the anaconda unit tests making use of DASDDevice. Signed-off-by: Steffen Maier --- .../pyanaconda_tests/modules/storage/test_module_dasd.py | 3 +-- .../modules/storage/test_module_device_tree.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/unit_tests/pyanaconda_tests/modules/storage/test_module_dasd.py b/tests/unit_tests/pyanaconda_tests/modules/storage/test_module_dasd.py index 54b86a6d33c..c6ff5ca7911 100644 --- a/tests/unit_tests/pyanaconda_tests/modules/storage/test_module_dasd.py +++ b/tests/unit_tests/pyanaconda_tests/modules/storage/test_module_dasd.py @@ -83,8 +83,7 @@ def test_find_formattable(self, blockdev): "dev1", fmt=get_format("ext4"), size=Size("10 GiB"), - busid="0.0.0201", - opts={} + busid="0.0.0201" ) ) diff --git a/tests/unit_tests/pyanaconda_tests/modules/storage/test_module_device_tree.py b/tests/unit_tests/pyanaconda_tests/modules/storage/test_module_device_tree.py index 76be5300bfb..2b5a8a3b0b1 100644 --- a/tests/unit_tests/pyanaconda_tests/modules/storage/test_module_device_tree.py +++ b/tests/unit_tests/pyanaconda_tests/modules/storage/test_module_device_tree.py @@ -170,8 +170,7 @@ def test_get_dasd_device_data(self): "dev1", fmt=get_format("ext4"), size=Size("10 GiB"), - busid="0.0.0201", - opts={} + busid="0.0.0201" )) data = self.interface.GetDeviceData("dev1")