Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bgurney-rh committed Sep 28, 2023
1 parent f1c11ae commit 88527d4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test_harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,14 @@ def _run_command(namespace, num_devices, command):
if namespace.log_level > 0:
print(f"Test: loopback device info scan to be added here, on {devices}.")
for device in devices:
diagcmd = ["blockdev", "--getss", "--getpbsz", "--getiomin", "--getioopt", device]
diagcmd = [
"blockdev",
"--getss",
"--getpbsz",
"--getiomin",
"--getioopt",
device,
]
with subprocess.Popen(diagcmd, stdout=subprocess.PIPE) as proc:
blockdevoutput = proc.stdout.readline().strip().decode("utf-8")
print(blockdevoutput)
Expand Down

0 comments on commit 88527d4

Please sign in to comment.