mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-10 18:34:03 -07:00
Standardize test output
This commit is contained in:
parent
2c783c7145
commit
7116c83c4a
2 changed files with 3 additions and 3 deletions
|
@ -276,7 +276,7 @@ class TestInventory(unittest.TestCase):
|
|||
'inventory_hostname_short': 'thor'}
|
||||
|
||||
def test_hosts_list(self):
|
||||
"""Test the case when playbook 'hosts' var is a list."""
|
||||
# Test the case when playbook 'hosts' var is a list.
|
||||
inventory = self.script_inventory()
|
||||
host_names = sorted(['thor', 'loki', 'odin']) # Not sure if sorting is in the contract or not
|
||||
actual_hosts = inventory.get_hosts(host_names)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue