Skip to content

Commit 9e0c108

Browse files
author
Chris Stockton
committed
fix: formatting I believe is why test failed
1 parent 8d0c24e commit 9e0c108

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

testinfra/test_ami_nix.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,12 @@ def is_healthy(ssh) -> bool:
375375
result = run_ssh_command(ssh, command)
376376
if not result["succeeded"]:
377377
info_text = ""
378-
info_command = f"sudo journalctl -b -u {service} -n 10 -r --no-pager"
378+
info_command = (
379+
f"sudo journalctl -b -u {service} -n 10 -r --no-pager"
380+
)
379381
info_result = run_ssh_command(ssh, info_command)
380382
if info_result["succeeded"]:
381-
info_text=info_result["stdout"].strip()
383+
info_text = info_result["stdout"].strip()
382384

383385
logger.warning(f"{service} not ready{info_text}")
384386
return False

0 commit comments

Comments
 (0)