mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
implemented inventory_hostname lookup in v2
This commit is contained in:
parent
68121b7990
commit
9b088a1e40
3 changed files with 44 additions and 22 deletions
|
@ -92,10 +92,10 @@ class TestInventory(unittest.TestCase):
|
|||
|
||||
for p in self.patterns:
|
||||
r = self.patterns[p]
|
||||
self.assertEqual(r, self.i._split_pattern(p))
|
||||
self.assertEqual(r, self.i.split_host_pattern(p))
|
||||
|
||||
for p, r in self.pattern_lists:
|
||||
self.assertEqual(r, self.i._split_pattern(p))
|
||||
self.assertEqual(r, self.i.split_host_pattern(p))
|
||||
|
||||
def test_ranges(self):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue