diff --git a/testlib/dbus.py b/testlib/dbus.py index b2c4f4e..cc4e8ed 100644 --- a/testlib/dbus.py +++ b/testlib/dbus.py @@ -325,8 +325,8 @@ def pool_create( return iface.CreatePool( pool_name, devices, - (True, key_desc) if key_desc is not None else (False, ""), - (True, clevis_info) if clevis_info is not None else (False, ("", "")), + [] if key_desc is None else [((False, 0), key_desc)], + [] if clevis_info is None else [((False, 0), clevis_info)], (False, 0), (False, ""), (False, 0),