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

Docs: adds an example when a full path is needed for unit tests, with module_utils, etc.
(cherry picked from commit a005dcfbbd)
pull/55610/head
Alicia Cozine 7 years ago committed by GitHub
parent e64ea2a0b1
commit f5561c65bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -43,6 +43,11 @@ Or against a specific Python version by doing:
ansible-test units --tox --python 2.7 apt 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:: For advanced usage see the online help::

Loading…
Cancel
Save