mirror of https://github.com/ansible/ansible.git
Make ansible-test available in the bin directory. (#45876)
(cherry picked from commit f3d1f9544b
)
pull/45713/merge
parent
434d9b2f2a
commit
7842b99106
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python
|
||||
# PYTHON_ARGCOMPLETE_OK
|
||||
"""Primary entry point for ansible-test."""
|
||||
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
|
||||
__metaclass__ = type
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'test', 'runner')))
|
||||
import lib.cli
|
||||
lib.cli.main()
|
@ -1 +0,0 @@
|
||||
test.py
|
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env python
|
||||
# PYTHON_ARGCOMPLETE_OK
|
||||
"""Legacy entry point for ansible-test. The preferred version is in the bin directory."""
|
||||
|
||||
import lib.cli
|
||||
|
||||
if __name__ == '__main__':
|
||||
lib.cli.main()
|
Loading…
Reference in New Issue