Updated ansible-test azure plugin help message.

This commit is contained in:
Matt Clay 2021-06-01 09:38:56 -07:00
parent 01ab6c6ec7
commit adc9e4a023
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- ansible-test - Updated the help message for failed tests in the ``azure`` test plugin.

View file

@ -163,8 +163,7 @@ class AzureCloudEnvironment(CloudEnvironment):
def on_failure(self, target, tries): # type: (IntegrationTarget, int) -> None def on_failure(self, target, tries): # type: (IntegrationTarget, int) -> None
"""Callback to run when an integration target fails.""" """Callback to run when an integration target fails."""
if not tries and self.managed: if not tries and self.managed:
display.notice('If %s failed due to permissions, the test policy may need to be updated. ' display.notice('If %s failed due to permissions, the test policy may need to be updated.' % target.name)
'For help, consult @mattclay or @gundalow on GitHub or #ansible-devel on IRC.' % target.name)
def get_config(config_path): # type: (str) -> t.Dict[str, str] def get_config(config_path): # type: (str) -> t.Dict[str, str]