Debugging tests

This commit is contained in:
David Murphy 2024-11-05 11:18:29 -07:00
parent 581f650d6e
commit ded5813ead
No known key found for this signature in database
GPG key ID: 9D7724F37A7424D8

View file

@ -26,6 +26,7 @@ def run_salt_call(cmd):
"""
cmd.append("--out=json")
result = subprocess.run(cmd, capture_output=True, text=True)
print(f"DGM run_salt_call, cmd '{cmd}', result '{result}'", flush=True)
json_data = json.loads(result.stdout)
return json_data["local"]