summaryrefslogtreecommitdiff
path: root/test/TestInventory.py
diff options
context:
space:
mode:
authorMichael DeHaan <michael.dehaan@gmail.com>2012-05-19 17:24:54 -0400
committerMichael DeHaan <michael.dehaan@gmail.com>2012-05-19 17:24:54 -0400
commit8e88667f82d7aa96e0a50e2075bbf939ff400035 (patch)
tree581c288ea5bbab04fdebbcd3bec7f56af792b657 /test/TestInventory.py
parent7302b7bbc40ec5db27291a0d744d0340a678e195 (diff)
downloadansible-8e88667f82d7aa96e0a50e2075bbf939ff400035.tar.gz
Fix hosts being in multiple groups, and duplicate host references in the same inventory file.
Diffstat (limited to 'test/TestInventory.py')
-rw-r--r--test/TestInventory.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TestInventory.py b/test/TestInventory.py
index 6d8d3bb2a4..a88236e75d 100644
--- a/test/TestInventory.py
+++ b/test/TestInventory.py
@@ -128,9 +128,9 @@ class TestInventory(unittest.TestCase):
print vars
expected = dict(
- a='1', b='2', c='3', d='100002',
+ a='1', b='2', c='3', d='100002', rga='1', rgb='2', rgc='3',
inventory_hostname='rtp_a',
- group_names=[ 'eastcoast', 'nc', 'rtp', 'us' ]
+ group_names=[ 'eastcoast', 'nc', 'redundantgroup', 'redundantgroup2', 'redundantgroup3', 'rtp', 'us' ]
)
print vars
print expected