mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
implemented inventory_hostname lookup in v2
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user