summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-19 03:28:17 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-04-19 03:28:17 +0000
commit973f0287b44b3bcac193bc069bd474fc252232db (patch)
tree374c366598119a805b66f8660330fe93c8cab643 /tests/unit
parentd65d96db734fc1b6da094d2df33284452e74a6db (diff)
parent690decb9ce48a420691b143df22892516fad7607 (diff)
Merge "Fix warnings on same name of host and group in Ansible 2.3"
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/ansible_library/modules/fuel_test.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/unit/ansible_library/modules/fuel_test.py b/tests/unit/ansible_library/modules/fuel_test.py
index 6a440e0d..e004fc17 100644
--- a/tests/unit/ansible_library/modules/fuel_test.py
+++ b/tests/unit/ansible_library/modules/fuel_test.py
@@ -32,13 +32,7 @@ def test_generate_inventory(data_root):
u'node-28',
u'node-25',
u'node-27'],
- u'mongo': [u'node-24'],
- 'node-23': [u'node-23'],
- 'node-24': [u'node-24'],
- 'node-25': [u'node-25'],
- 'node-26': [u'node-26'],
- 'node-27': [u'node-27'],
- 'node-28': [u'node-28']}
+ u'mongo': [u'node-24']}
assert dict(inventory['hosts_meta']) == {
u'node-23': {'ansible_ssh_host': u'10.20.11.10', 'cluster': 4, 'ip': u'10.20.11.10',
'mac': u'74:4a:a4:01:71:61', 'name': u'Untitled (71:61)', 'online': True, 'os_platform': u'ubuntu',