From 74c9ba4d80e3fe91362ac380a789558895a36fe5 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Wed, 8 Nov 2023 17:18:08 +0100 Subject: [PATCH] tests: Use BDPluginSpec constructor in LVM DBus plugin tests Follow up for #973, I forgot to fix the BDPluginSpec construction for LVM DBus test cases. --- tests/lvm_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/lvm_test.py b/tests/lvm_test.py index 3a7ed2ef4..43a9cdd64 100644 --- a/tests/lvm_test.py +++ b/tests/lvm_test.py @@ -36,9 +36,7 @@ class LVMTestCase(unittest.TestCase): @classmethod def setUpClass(cls): - ps = BlockDev.PluginSpec() - ps.name = BlockDev.Plugin.LVM - ps.so_name = "libbd_lvm.so.3" + ps = BlockDev.PluginSpec(name=BlockDev.Plugin.LVM, so_name="libbd_lvm.so.3") cls.requested_plugins = [ps] if not BlockDev.is_initialized():