mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-23 04:24:00 -07:00
Fix bugs in ansible-test units command. (#24044)
* Handle old versions of coverage. * Handle old versions of setuptools. * Detect python version for docker/remote units. * Add sanity override for test constraints.
This commit is contained in:
parent
51e3390333
commit
d662f6f0db
6 changed files with 20 additions and 1 deletions
|
@ -241,7 +241,7 @@ def parse_args():
|
|||
|
||||
units.add_argument('--python',
|
||||
metavar='VERSION',
|
||||
choices=SUPPORTED_PYTHON_VERSIONS,
|
||||
choices=SUPPORTED_PYTHON_VERSIONS + ('default',),
|
||||
help='python version: %s' % ', '.join(SUPPORTED_PYTHON_VERSIONS))
|
||||
|
||||
units.add_argument('--collect-only',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue