diff options
author | wu.zhihui <wu.zhihui1@zte.com.cn> | 2016-10-12 15:32:52 +0800 |
---|---|---|
committer | wu.zhihui <wu.zhihui1@zte.com.cn> | 2016-10-14 17:16:00 +0800 |
commit | eddc35b497362c0c01e612d66ed19c4d5c9dd328 (patch) | |
tree | 9a9c792a002fce40782158b9d645e597d3606f1b /tests | |
parent | 975e241de4d4bf3839c788ad743d0cc077e23bd4 (diff) |
Adjust directory structure
qtip
!
+---- scripts
! !
! +----ref_result # python scripts to generate results report
! +----fetch_compute_ips.sh
! +----fetch_os_creds.sh
! +----file_permission.sh
! +----get_env_info.sh
! +----qtip_creds.sh
! +----ssh_exch.exp
!
+---- config
! !
! +---- Qtip_key
! +---- Qtip_key.pub
! +---- SampleHeat.yaml
!
+---- utils
! !
! +---- logger_utils.py
! +---- report # generate pdf report file
Change-Id: Ia908ff31494369c1a13fb88b1ff9b0e5681f8e29
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ansible_api_test.py | 2 | ||||
-rw-r--r-- | tests/env_setup_test.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ansible_api_test.py b/tests/ansible_api_test.py index e9f0a77d..613d5f7e 100644 --- a/tests/ansible_api_test.py +++ b/tests/ansible_api_test.py @@ -14,6 +14,6 @@ class TestClass: ansible_api = AnsibleApi() ret = ansible_api.execute_playbook('tests/data/hosts', 'tests/data/test.yml', - 'data/QtipKey', + 'config/QtipKey', {'keys': 'test'}) assert ret == 3 diff --git a/tests/env_setup_test.py b/tests/env_setup_test.py index cc3c6b60..a0bbf640 100644 --- a/tests/env_setup_test.py +++ b/tests/env_setup_test.py @@ -64,7 +64,7 @@ class TestClass: test_class.fetch_compute_ips = mock_ips test_class.parse("tests/test_case/bm_without_proxy.yaml") test_class.update_ansible() - result = filecmp.cmp('tests/output/hosts', 'data/hosts') + result = filecmp.cmp('tests/output/hosts', 'config/hosts') assert result def test_ping(self, capfd): |