Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions testlib/dbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ def pool_start(id_string, id_type):
StratisDbus._MNGR_IFACE,
)

return manager_iface.StartPool(id_string, id_type, (False, ""), (False, 0))
return manager_iface.StartPool(
id_string, id_type, (False, (False, 0)), (False, 0)
)

@staticmethod
def pool_stop(id_string, id_type):
Expand Down Expand Up @@ -325,8 +327,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),
Expand Down