Add missing var for format string in ansible-test.

This commit is contained in:
Matt Clay 2019-10-07 09:20:10 -07:00
parent deda9d4cc5
commit 32979430d0
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- ansible-test now shows the correct source path instead of ``%s`` for collection role based test targets when the ``-v`` option is used

View file

@ -98,7 +98,7 @@ class CollectionLayout(LayoutProvider):
messages.info.append('Falling back to tests in "%s" because "%s" was not found.' % (legacy_integration_path, modern_integration_path))
integration_targets_path = legacy_integration_path
elif modern_integration_path_found:
messages.info.append('Loading tests from "%s".')
messages.info.append('Loading tests from "%s".' % modern_integration_path)
integration_targets_path = modern_integration_path
else:
messages.error.append('Cannot run integration tests without "%s" or "%s".' % (modern_integration_path, legacy_integration_path))