Merge "Enable commented software component test"

This commit is contained in:
Jenkins 2016-01-12 09:03:27 +00:00 committed by Gerrit Code Review
commit 081b3eb821
1 changed files with 12 additions and 13 deletions

View File

@ -178,19 +178,18 @@ class SoftwareComponentValidationTest(common.HeatTestCase):
err=exc.StackValidationFailed,
err_msg='Property configs not assigned')
),
# do not test until bug #1350840
# (
# 'empty_configs',
# dict(snippet='''
# component:
# type: OS::Heat::SoftwareComponent
# properties:
# configs:
# ''',
# err=exception.StackValidationFailed,
# err_msg='configs length (0) is out of range '
# '(min: 1, max: None)')
# ),
(
'empty_configs',
dict(snippet='''
component:
type: OS::Heat::SoftwareComponent
properties:
configs:
''',
err=exc.StackValidationFailed,
err_msg='resources.component.properties.configs: '
'length (0) is out of range (min: 1, max: None)')
),
(
'invalid_configs',
dict(snippet='''