Commit 64d35cb3 by Michael Scherer

test that using non ordered range of char send a exception

parent 4f69b63f
......@@ -282,6 +282,10 @@ class TestInventory(unittest.TestCase):
def test_incorrect_format(self):
Inventory(os.path.join(self.test_dir, 'inventory','test_incorrect_format'))
@raises(errors.AnsibleError)
def test_alpha_end_before_beg(self):
Inventory(os.path.join(self.test_dir, 'inventory','test_alpha_end_before_beg'))
###################################################
### 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