mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00: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:
committed by
Alicia Cozine
parent
04cae4134f
commit
a005dcfbbd
@@ -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::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user