Commit 4f69b63f by Michael Scherer

add test for incorrect format in range host

parent 835fdd1e
......@@ -278,6 +278,10 @@ class TestInventory(unittest.TestCase):
def test_missing_end(self):
Inventory(os.path.join(self.test_dir, 'inventory','test_missing_end'))
@raises(errors.AnsibleError)
def test_incorrect_format(self):
Inventory(os.path.join(self.test_dir, 'inventory','test_incorrect_format'))
###################################################
### Inventory API tests
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment