Skip to content

Commit

Permalink
tests: Use BDPluginSpec constructor in LVM DBus plugin tests
Browse files Browse the repository at this point in the history
Follow up for #973, I forgot to fix the BDPluginSpec construction
for LVM DBus test cases.
  • Loading branch information
vojtechtrefny committed Nov 8, 2023
1 parent 9abf965 commit 74c9ba4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/lvm_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 74c9ba4

Please sign in to comment.