Minor cleanup.

pull/6287/head
Richard C Isaacson 11 years ago
parent a3c36a6853
commit 22a1fb28d6

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

Loading…
Cancel
Save