'Test map length under MIN_LEN.'

def test_map_underrun(self):

    schema = {'Type': 'Json', 'MinLength': 3}
    val = {'foo': 'bar', 'items': [1, 2, 3]}
    err = self.assertRaises(exception.StackValidationFailed, new_parameter, 'p', schema, val)
    self.assertIn('out    of    range', six.text_type(err))
