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
test/units
|
@ -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…
Add table
Reference in a new issue