1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Minor cleanup.

This commit is contained in:
Richard C Isaacson 2014-03-05 13:44:15 -06:00
parent a3c36a6853
commit 22a1fb28d6

View file

@ -433,8 +433,8 @@ class TestInventory(unittest.TestCase):
assert host_vars == expected_vars
def test_dir_inventory_multiple_groups(self):
inventory = self.dir_inventory()
group_greek = inventory.get_hosts('greek')
actual_host_names = [host.name for host in group_greek];
print "greek : %s " % (actual_host_names)
assert actual_host_names == ['zeus','morpheus']
inventory = self.dir_inventory()
group_greek = inventory.get_hosts('greek')
actual_host_names = [host.name for host in group_greek]
print "greek : %s " % actual_host_names
assert actual_host_names == ['zeus', 'morpheus']