[stable-2.9] Add missing var for format string in ansible-test.

(cherry picked from commit 32979430d0)

Co-authored-by: Matt Clay <matt@mystile.com>
pull/64686/head
Matt Clay 5 years ago
parent 0586d2c630
commit 8b0249c0b0

@ -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

@ -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))

Loading…
Cancel
Save