diff options
author | Matt Clay <matt@mystile.com> | 2019-08-06 14:43:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-06 14:43:29 -0700 |
commit | d651bda12390e46c85c4487859f030ed8851867a (patch) | |
tree | 4dbe51c6df169557e342938f6fe3f3632d2dc4a8 /hacking | |
parent | 923e21836b1a4fb91aa6e93463efe0aea4022144 (diff) | |
download | ansible-d651bda12390e46c85c4487859f030ed8851867a.tar.gz |
Relocate ansible-test code. (#60147)
* Initial move of `test/runner/` content.
`test/runner/lib/` -> `test/lib/ansible_test/_internal/`
`test/runner/` -> `test/lib/ansible_test/_internal/data/`
* Initial move of `test/sanity/` content.
`test/sanity/` -> `test/lib/ansible_test/_internal/data/sanity/` (except `test/sanity/ignore.txt`)
* Initial move of `test/units/pytest/` content.
`test/units/pytest/` -> `test/lib/ansible_test/_internal/data/pytest/`
* Follow-up move of `test/runner/unit/` content.
`test/lib/ansible_test/_internal/data/unit/` -> `test/lib/ansible_test/tests/unit/`
* Initial move of `ansible.cfg` content.
`test/units/ansible.cfg` -> `test/lib/ansible_test/_internal/data/units/ansible.cfg`
`test/env/ansible.cfg` -> `test/lib/ansible_test/_internal/data/env/ansible.cfg`
* Follow-up move of `data` directory.
`test/lib/ansible_test/_internal/data/` -> `test/lib/ansible_test/_data/`
* Update import statements.
* Add missing __init__.py for unit tests.
* Fix path references and miscellaneous issues.
Diffstat (limited to 'hacking')
-rwxr-xr-x | hacking/report.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hacking/report.py b/hacking/report.py index 47f64e7984..ae4b3fb96d 100755 --- a/hacking/report.py +++ b/hacking/report.py @@ -13,7 +13,7 @@ import sys DATABASE_PATH = os.path.expanduser('~/.ansible/report.db') BASE_PATH = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')) + '/' ANSIBLE_PATH = os.path.join(BASE_PATH, 'lib') -ANSIBLE_TEST_PATH = os.path.join(BASE_PATH, 'test/runner') +ANSIBLE_TEST_PATH = os.path.join(BASE_PATH, 'test/lib') if ANSIBLE_PATH not in sys.path: sys.path.insert(0, ANSIBLE_PATH) @@ -24,7 +24,7 @@ if ANSIBLE_TEST_PATH not in sys.path: from ansible.module_utils.urls import open_url from ansible.parsing.metadata import extract_metadata -from lib.target import walk_integration_targets +from ansible_test._internal.target import walk_integration_targets def main(): |