python: display configuration failure error

When configure fails, display error comment in pytest failure message.
This commit is contained in:
link2xt
2022-06-19 13:12:02 +00:00
parent dc29ede6e3
commit b88042a902
4 changed files with 10 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ class PerAccount:
"""log a message related to the account."""
@account_hookspec
def ac_configure_completed(self, success):
def ac_configure_completed(self, success, comment):
"""Called after a configure process completed."""
@account_hookspec