Add example for full path on unit tests (#55243)

Docs: adds an example when a full path is needed for unit tests, with module_utils, etc.
pull/4420/head
Kevin Breit 2019-04-15 16:20:14 -05:00 committed by Alicia Cozine
parent 04cae4134f
commit a005dcfbbd
1 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,11 @@ Or against a specific Python version by doing:
ansible-test units --tox --python 2.7 apt
If you are running unit tests against things other than modules, such as module utilities, specify the whole file path:
.. code:: shell
ansible-test units --tox test/units/module_utils/basic/test_imports.py
For advanced usage see the online help::