Commit 835fdd1e by Michael Scherer

add test for missing end in host range

parent 2aea8a63
......@@ -274,6 +274,11 @@ class TestInventory(unittest.TestCase):
def test_invalid_range(self):
Inventory(os.path.join(self.test_dir, 'inventory','test_incorrect_range'))
@raises(errors.AnsibleError)
def test_missing_end(self):
Inventory(os.path.join(self.test_dir, 'inventory','test_missing_end'))
###################################################
### 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