diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-20 03:41:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-04-20 03:41:18 +0000 |
commit | 7bc49cecd73a3a88f63828a9219b4aec4d53f70d (patch) | |
tree | a27dee3ea5a4b955a7e4297bb2db809d1947dd9a /tests/unit/ansible_library | |
parent | 59e48a5df9eb9c10708cd1873f8b5c623bdeb5f2 (diff) | |
parent | e37805bda96bd54a6c0108e6fb2e67298bbda280 (diff) |
Merge "fix apex integration"
Diffstat (limited to 'tests/unit/ansible_library')
-rw-r--r-- | tests/unit/ansible_library/modules/apex_generate_inventory_test.py (renamed from tests/unit/ansible_library/modules/apex_test.py) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/ansible_library/modules/apex_test.py b/tests/unit/ansible_library/modules/apex_generate_inventory_test.py index 8a1d0673..7df9d35c 100644 --- a/tests/unit/ansible_library/modules/apex_test.py +++ b/tests/unit/ansible_library/modules/apex_generate_inventory_test.py @@ -10,7 +10,7 @@ import json import os -from qtip.ansible_library.modules import apex +from qtip.ansible_library.modules import apex_generate_inventory def test_generate_inventory(data_root): @@ -18,7 +18,7 @@ def test_generate_inventory(data_root): 'apex', 'baremetal_info.json'))) server_info = json.load(open(os.path.join(data_root, 'external', 'apex', 'server_info.json'))) - inventory = apex.generate_inventory(baremetal_info, server_info) + inventory = apex_generate_inventory.generate_inventory(baremetal_info, server_info) assert dict(inventory['hosts']) == { u'compute': [u'192.0.2.5', u'192.0.2.6'], u'control': [u'192.0.2.7', u'192.0.2.8', u'192.0.2.9']} |