mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add a broken test that shows extensions not skipped
This commit is contained in:
parent
19dbff916f
commit
bcfef8d0d4
2 changed files with 6 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue