mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-10 18:15:39 +00:00
Adjust syntax for Python-version specific unit tests.
This commit is contained in:
parent
9dfc388645
commit
d5ce553f70
1 changed files with 2 additions and 2 deletions
|
|
@ -93,10 +93,10 @@ The following commands show how to run unit tests:
|
|||
nox -Re ansible-test-units-devel
|
||||
|
||||
# Run all unit tests for one Python version (a lot faster):
|
||||
nox -Re ansible-test-units-devel -- --python 3.13
|
||||
nox -Re ansible-test-units-devel-3.14
|
||||
|
||||
# Run a specific unit test (for the nmcli module) for one Python version:
|
||||
nox -Re ansible-test-units-devel -- --python 3.13 tests/unit/plugins/modules/net_tools/test_nmcli.py
|
||||
nox -Re ansible-test-units-devel-3.14 -- tests/unit/plugins/modules/net_tools/test_nmcli.py
|
||||
```
|
||||
|
||||
If you replace `-Re` with `-e`, then the virtual environments will be re-created. The `-R` re-uses them (if they already exist).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue