mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Inventory: undefined group -> ungrouped.
Also change test name collision.
This commit is contained in:
parent
d419a13ca7
commit
e09572a8e1
2 changed files with 6 additions and 6 deletions
|
@ -221,11 +221,11 @@ class TestInventory(unittest.TestCase):
|
|||
expected_hosts=['thor', 'odin', 'loki']
|
||||
self.compare(hosts, expected_hosts)
|
||||
|
||||
def test_simple_ungrouped(self):
|
||||
def test_yaml_ungrouped(self):
|
||||
inventory = self.yaml_inventory()
|
||||
hosts = inventory.list_hosts("ungrouped")
|
||||
|
||||
expected_hosts=['jupiter','zeus']
|
||||
expected_hosts=['jupiter']
|
||||
self.compare(hosts, expected_hosts)
|
||||
|
||||
def test_yaml_combined(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue