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:
parent
a3c36a6853
commit
22a1fb28d6
1 changed files with 5 additions and 5 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue