1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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.
This commit is contained in:
Kevin Breit 2019-04-15 16:20:14 -05:00 committed by Alicia Cozine
parent 04cae4134f
commit a005dcfbbd

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