Make ansible-test available in the bin directory. (#45876)

This commit is contained in:
Matt Clay
2018-09-19 17:58:55 -07:00
committed by GitHub
parent 582a4dfa13
commit f3d1f9544b
7 changed files with 29 additions and 14 deletions

15
bin/ansible-test Executable file
View File

@@ -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()