mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-21 16:21:12 +00:00
Add a broken test that shows extensions not skipped
This commit is contained in:
@@ -439,3 +439,7 @@ class TestInventory(unittest.TestCase):
|
||||
actual_host_names = [host.name for host in group_greek]
|
||||
print "greek : %s " % actual_host_names
|
||||
assert actual_host_names == ['zeus', 'morpheus']
|
||||
|
||||
def test_dir_inventory_skip_extension(self):
|
||||
inventory = self.dir_inventory()
|
||||
assert 'skipme' not in [h.name for h in inventory.get_hosts()]
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
[skip]
|
||||
skipme
|
||||
Reference in New Issue
Block a user