aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-10-17 00:48:11 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-17 00:48:11 +0000
commit507e8c569a699ceab085e01197a32a628c3c88d9 (patch)
treed968127732826d59b2bbd21970655998449050dd /tests
parent2af11e64cc8b1eb321982be9618417724d529a29 (diff)
parenteddc35b497362c0c01e612d66ed19c4d5c9dd328 (diff)
Merge "Adjust directory structure"
Diffstat (limited to 'tests')
-rw-r--r--tests/ansible_api_test.py2
-rw-r--r--tests/env_setup_test.py2
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):