Add a broken test that shows extensions not skipped

This commit is contained in:
Kevin Bell 2014-05-14 23:08:51 -07:00
parent 19dbff916f
commit bcfef8d0d4
2 changed files with 6 additions and 0 deletions

View file

@ -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()]

View file

@ -0,0 +1,2 @@
[skip]
skipme