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:
parent
04cae4134f
commit
a005dcfbbd
1 changed files with 5 additions and 0 deletions
|
@ -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::
|
||||
|
||||
|
|
Loading…
Reference in a new issue