|
|
|
@@ -3,51 +3,51 @@
|
|
|
|
|
list([
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain] at configuration.yaml, line 6: required key 'platform' not provided.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain' at configuration.yaml, line 6: required key 'platform' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 9: expected str for dictionary value 'option1', got 123.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 9: expected str for dictionary value 'option1', got 123",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 12: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 12: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': '''
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 18: required key 'option1' not provided.
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 19: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 20: expected str for dictionary value 'option2', got 123.
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 18: required key 'option1' not provided
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 19: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 20: expected str for dictionary value 'option2', got 123
|
|
|
|
|
''',
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_2] at configuration.yaml, line 27: required key 'host' not provided.",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_2' at configuration.yaml, line 27: required key 'host' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_3] at configuration.yaml, line 32: expected int for dictionary value 'adr_0007_3->port', got 'foo'.",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_3' at configuration.yaml, line 32: expected int for dictionary value 'adr_0007_3->port', got 'foo'",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_4] at configuration.yaml, line 37: 'no_such_option' is an invalid option for [adr_0007_4], check: adr_0007_4->no_such_option",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_4' at configuration.yaml, line 37: 'no_such_option' is an invalid option for 'adr_0007_4', check: adr_0007_4->no_such_option",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': '''
|
|
|
|
|
Invalid config for [adr_0007_5] at configuration.yaml, line 43: required key 'host' not provided.
|
|
|
|
|
Invalid config for [adr_0007_5] at configuration.yaml, line 44: 'no_such_option' is an invalid option for [adr_0007_5], check: adr_0007_5->no_such_option
|
|
|
|
|
Invalid config for [adr_0007_5] at configuration.yaml, line 45: expected int for dictionary value 'adr_0007_5->port', got 'foo'.
|
|
|
|
|
Invalid config for 'adr_0007_5' at configuration.yaml, line 43: required key 'host' not provided
|
|
|
|
|
Invalid config for 'adr_0007_5' at configuration.yaml, line 44: 'no_such_option' is an invalid option for 'adr_0007_5', check: adr_0007_5->no_such_option
|
|
|
|
|
Invalid config for 'adr_0007_5' at configuration.yaml, line 45: expected int for dictionary value 'adr_0007_5->port', got 'foo'
|
|
|
|
|
''',
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [custom_validator_ok_2] at configuration.yaml, line 52: required key 'host' not provided.",
|
|
|
|
|
'message': "Invalid config for 'custom_validator_ok_2' at configuration.yaml, line 52: required key 'host' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
|
'message': 'Invalid config for [custom_validator_bad_1] at configuration.yaml, line 55: broken',
|
|
|
|
|
'message': "Invalid config for 'custom_validator_bad_1' at configuration.yaml, line 55: broken",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
@@ -59,51 +59,51 @@
|
|
|
|
|
list([
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain] at integrations/iot_domain.yaml, line 5: required key 'platform' not provided.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain' at integrations/iot_domain.yaml, line 5: required key 'platform' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at integrations/iot_domain.yaml, line 8: expected str for dictionary value 'option1', got 123.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at integrations/iot_domain.yaml, line 8: expected str for dictionary value 'option1', got 123",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at integrations/iot_domain.yaml, line 11: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at integrations/iot_domain.yaml, line 11: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': '''
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at integrations/iot_domain.yaml, line 17: required key 'option1' not provided.
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at integrations/iot_domain.yaml, line 18: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at integrations/iot_domain.yaml, line 19: expected str for dictionary value 'option2', got 123.
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at integrations/iot_domain.yaml, line 17: required key 'option1' not provided
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at integrations/iot_domain.yaml, line 18: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at integrations/iot_domain.yaml, line 19: expected str for dictionary value 'option2', got 123
|
|
|
|
|
''',
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_2] at configuration.yaml, line 3: required key 'host' not provided.",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_2' at configuration.yaml, line 3: required key 'host' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_3] at integrations/adr_0007_3.yaml, line 3: expected int for dictionary value 'adr_0007_3->port', got 'foo'.",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_3' at integrations/adr_0007_3.yaml, line 3: expected int for dictionary value 'adr_0007_3->port', got 'foo'",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_4] at integrations/adr_0007_4.yaml, line 3: 'no_such_option' is an invalid option for [adr_0007_4], check: adr_0007_4->no_such_option",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_4' at integrations/adr_0007_4.yaml, line 3: 'no_such_option' is an invalid option for 'adr_0007_4', check: adr_0007_4->no_such_option",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': '''
|
|
|
|
|
Invalid config for [adr_0007_5] at configuration.yaml, line 6: required key 'host' not provided.
|
|
|
|
|
Invalid config for [adr_0007_5] at integrations/adr_0007_5.yaml, line 5: 'no_such_option' is an invalid option for [adr_0007_5], check: adr_0007_5->no_such_option
|
|
|
|
|
Invalid config for [adr_0007_5] at integrations/adr_0007_5.yaml, line 6: expected int for dictionary value 'adr_0007_5->port', got 'foo'.
|
|
|
|
|
Invalid config for 'adr_0007_5' at configuration.yaml, line 6: required key 'host' not provided
|
|
|
|
|
Invalid config for 'adr_0007_5' at integrations/adr_0007_5.yaml, line 5: 'no_such_option' is an invalid option for 'adr_0007_5', check: adr_0007_5->no_such_option
|
|
|
|
|
Invalid config for 'adr_0007_5' at integrations/adr_0007_5.yaml, line 6: expected int for dictionary value 'adr_0007_5->port', got 'foo'
|
|
|
|
|
''',
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [custom_validator_ok_2] at configuration.yaml, line 8: required key 'host' not provided.",
|
|
|
|
|
'message': "Invalid config for 'custom_validator_ok_2' at configuration.yaml, line 8: required key 'host' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
|
'message': 'Invalid config for [custom_validator_bad_1] at configuration.yaml, line 9: broken',
|
|
|
|
|
'message': "Invalid config for 'custom_validator_bad_1' at configuration.yaml, line 9: broken",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
@@ -115,27 +115,27 @@
|
|
|
|
|
list([
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain] at iot_domain/iot_domain_2.yaml, line 2: required key 'platform' not provided.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain' at iot_domain/iot_domain_2.yaml, line 2: required key 'platform' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at iot_domain/iot_domain_3.yaml, line 3: expected str for dictionary value 'option1', got 123.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at iot_domain/iot_domain_3.yaml, line 3: expected str for dictionary value 'option1', got 123",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at iot_domain/iot_domain_4.yaml, line 3: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at iot_domain/iot_domain_4.yaml, line 3: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': '''
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at iot_domain/iot_domain_5.yaml, line 5: required key 'option1' not provided.
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at iot_domain/iot_domain_5.yaml, line 6: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at iot_domain/iot_domain_5.yaml, line 7: expected str for dictionary value 'option2', got 123.
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at iot_domain/iot_domain_5.yaml, line 5: required key 'option1' not provided
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at iot_domain/iot_domain_5.yaml, line 6: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at iot_domain/iot_domain_5.yaml, line 7: expected str for dictionary value 'option2', got 123
|
|
|
|
|
''',
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
|
'message': 'Invalid config for [custom_validator_bad_1] at configuration.yaml, line 1: broken',
|
|
|
|
|
'message': "Invalid config for 'custom_validator_bad_1' at configuration.yaml, line 1: broken",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
@@ -147,27 +147,27 @@
|
|
|
|
|
list([
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain] at iot_domain/iot_domain_1.yaml, line 5: required key 'platform' not provided.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain' at iot_domain/iot_domain_1.yaml, line 5: required key 'platform' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at iot_domain/iot_domain_2.yaml, line 3: expected str for dictionary value 'option1', got 123.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at iot_domain/iot_domain_2.yaml, line 3: expected str for dictionary value 'option1', got 123",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at iot_domain/iot_domain_2.yaml, line 6: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at iot_domain/iot_domain_2.yaml, line 6: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': '''
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at iot_domain/iot_domain_2.yaml, line 12: required key 'option1' not provided.
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at iot_domain/iot_domain_2.yaml, line 13: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at iot_domain/iot_domain_2.yaml, line 14: expected str for dictionary value 'option2', got 123.
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at iot_domain/iot_domain_2.yaml, line 12: required key 'option1' not provided
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at iot_domain/iot_domain_2.yaml, line 13: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at iot_domain/iot_domain_2.yaml, line 14: expected str for dictionary value 'option2', got 123
|
|
|
|
|
''',
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
|
'message': 'Invalid config for [custom_validator_bad_1] at configuration.yaml, line 1: broken',
|
|
|
|
|
'message': "Invalid config for 'custom_validator_bad_1' at configuration.yaml, line 1: broken",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
@@ -179,51 +179,51 @@
|
|
|
|
|
list([
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain] at configuration.yaml, line 11: required key 'platform' not provided.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain' at configuration.yaml, line 11: required key 'platform' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 16: expected str for dictionary value 'option1', got 123.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 16: expected str for dictionary value 'option1', got 123",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 21: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 21: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': '''
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 29: required key 'option1' not provided.
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 30: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 31: expected str for dictionary value 'option2', got 123.
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 29: required key 'option1' not provided
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 30: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 31: expected str for dictionary value 'option2', got 123
|
|
|
|
|
''',
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_2] at configuration.yaml, line 38: required key 'host' not provided.",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_2' at configuration.yaml, line 38: required key 'host' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_3] at configuration.yaml, line 43: expected int for dictionary value 'adr_0007_3->port', got 'foo'.",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_3' at configuration.yaml, line 43: expected int for dictionary value 'adr_0007_3->port', got 'foo'",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_4] at configuration.yaml, line 48: 'no_such_option' is an invalid option for [adr_0007_4], check: adr_0007_4->no_such_option",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_4' at configuration.yaml, line 48: 'no_such_option' is an invalid option for 'adr_0007_4', check: adr_0007_4->no_such_option",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': '''
|
|
|
|
|
Invalid config for [adr_0007_5] at configuration.yaml, line 54: required key 'host' not provided.
|
|
|
|
|
Invalid config for [adr_0007_5] at configuration.yaml, line 55: 'no_such_option' is an invalid option for [adr_0007_5], check: adr_0007_5->no_such_option
|
|
|
|
|
Invalid config for [adr_0007_5] at configuration.yaml, line 56: expected int for dictionary value 'adr_0007_5->port', got 'foo'.
|
|
|
|
|
Invalid config for 'adr_0007_5' at configuration.yaml, line 54: required key 'host' not provided
|
|
|
|
|
Invalid config for 'adr_0007_5' at configuration.yaml, line 55: 'no_such_option' is an invalid option for 'adr_0007_5', check: adr_0007_5->no_such_option
|
|
|
|
|
Invalid config for 'adr_0007_5' at configuration.yaml, line 56: expected int for dictionary value 'adr_0007_5->port', got 'foo'
|
|
|
|
|
''',
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [custom_validator_ok_2] at configuration.yaml, line 64: required key 'host' not provided.",
|
|
|
|
|
'message': "Invalid config for 'custom_validator_ok_2' at configuration.yaml, line 64: required key 'host' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
|
'message': 'Invalid config for [custom_validator_bad_1] at configuration.yaml, line 67: broken',
|
|
|
|
|
'message': "Invalid config for 'custom_validator_bad_1' at configuration.yaml, line 67: broken",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
@@ -235,51 +235,51 @@
|
|
|
|
|
list([
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain] at integrations/iot_domain.yaml, line 6: required key 'platform' not provided.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain' at integrations/iot_domain.yaml, line 6: required key 'platform' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at integrations/iot_domain.yaml, line 9: expected str for dictionary value 'option1', got 123.",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at integrations/iot_domain.yaml, line 9: expected str for dictionary value 'option1', got 123",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [iot_domain.non_adr_0007] at integrations/iot_domain.yaml, line 12: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option",
|
|
|
|
|
'message': "Invalid config for 'iot_domain.non_adr_0007' at integrations/iot_domain.yaml, line 12: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': '''
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at integrations/iot_domain.yaml, line 18: required key 'option1' not provided.
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at integrations/iot_domain.yaml, line 19: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at integrations/iot_domain.yaml, line 20: expected str for dictionary value 'option2', got 123.
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at integrations/iot_domain.yaml, line 18: required key 'option1' not provided
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at integrations/iot_domain.yaml, line 19: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at integrations/iot_domain.yaml, line 20: expected str for dictionary value 'option2', got 123
|
|
|
|
|
''',
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_2] at integrations/adr_0007_2.yaml, line 2: required key 'host' not provided.",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_2' at integrations/adr_0007_2.yaml, line 2: required key 'host' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_3] at integrations/adr_0007_3.yaml, line 4: expected int for dictionary value 'adr_0007_3->port', got 'foo'.",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_3' at integrations/adr_0007_3.yaml, line 4: expected int for dictionary value 'adr_0007_3->port', got 'foo'",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [adr_0007_4] at integrations/adr_0007_4.yaml, line 4: 'no_such_option' is an invalid option for [adr_0007_4], check: adr_0007_4->no_such_option",
|
|
|
|
|
'message': "Invalid config for 'adr_0007_4' at integrations/adr_0007_4.yaml, line 4: 'no_such_option' is an invalid option for 'adr_0007_4', check: adr_0007_4->no_such_option",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': '''
|
|
|
|
|
Invalid config for [adr_0007_5] at integrations/adr_0007_5.yaml, line 5: required key 'host' not provided.
|
|
|
|
|
Invalid config for [adr_0007_5] at integrations/adr_0007_5.yaml, line 6: 'no_such_option' is an invalid option for [adr_0007_5], check: adr_0007_5->no_such_option
|
|
|
|
|
Invalid config for [adr_0007_5] at integrations/adr_0007_5.yaml, line 7: expected int for dictionary value 'adr_0007_5->port', got 'foo'.
|
|
|
|
|
Invalid config for 'adr_0007_5' at integrations/adr_0007_5.yaml, line 5: required key 'host' not provided
|
|
|
|
|
Invalid config for 'adr_0007_5' at integrations/adr_0007_5.yaml, line 6: 'no_such_option' is an invalid option for 'adr_0007_5', check: adr_0007_5->no_such_option
|
|
|
|
|
Invalid config for 'adr_0007_5' at integrations/adr_0007_5.yaml, line 7: expected int for dictionary value 'adr_0007_5->port', got 'foo'
|
|
|
|
|
''',
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': False,
|
|
|
|
|
'message': "Invalid config for [custom_validator_ok_2] at integrations/custom_validator_ok_2.yaml, line 2: required key 'host' not provided.",
|
|
|
|
|
'message': "Invalid config for 'custom_validator_ok_2' at integrations/custom_validator_ok_2.yaml, line 2: required key 'host' not provided",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
|
'message': 'Invalid config for [custom_validator_bad_1] at integrations/custom_validator_bad_1.yaml, line 2: broken',
|
|
|
|
|
'message': "Invalid config for 'custom_validator_bad_1' at integrations/custom_validator_bad_1.yaml, line 2: broken",
|
|
|
|
|
}),
|
|
|
|
|
dict({
|
|
|
|
|
'has_exc_info': True,
|
|
|
|
@@ -289,24 +289,24 @@
|
|
|
|
|
# ---
|
|
|
|
|
# name: test_component_config_validation_error_with_docs[basic]
|
|
|
|
|
list([
|
|
|
|
|
"Invalid config for [iot_domain] at configuration.yaml, line 6: required key 'platform' not provided. Please check the docs at https://www.home-assistant.io/integrations/iot_domain.",
|
|
|
|
|
"Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 9: expected str for dictionary value 'option1', got 123. Please check the docs at https://www.home-assistant.io/integrations/non_adr_0007.",
|
|
|
|
|
"Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 12: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option. Please check the docs at https://www.home-assistant.io/integrations/non_adr_0007",
|
|
|
|
|
"Invalid config for 'iot_domain' at configuration.yaml, line 6: required key 'platform' not provided, please check the docs at https://www.home-assistant.io/integrations/iot_domain",
|
|
|
|
|
"Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 9: expected str for dictionary value 'option1', got 123, please check the docs at https://www.home-assistant.io/integrations/non_adr_0007",
|
|
|
|
|
"Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 12: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option, please check the docs at https://www.home-assistant.io/integrations/non_adr_0007",
|
|
|
|
|
'''
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 18: required key 'option1' not provided. Please check the docs at https://www.home-assistant.io/integrations/non_adr_0007.
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 19: 'no_such_option' is an invalid option for [iot_domain.non_adr_0007], check: no_such_option. Please check the docs at https://www.home-assistant.io/integrations/non_adr_0007
|
|
|
|
|
Invalid config for [iot_domain.non_adr_0007] at configuration.yaml, line 20: expected str for dictionary value 'option2', got 123. Please check the docs at https://www.home-assistant.io/integrations/non_adr_0007.
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 18: required key 'option1' not provided, please check the docs at https://www.home-assistant.io/integrations/non_adr_0007
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 19: 'no_such_option' is an invalid option for 'iot_domain.non_adr_0007', check: no_such_option, please check the docs at https://www.home-assistant.io/integrations/non_adr_0007
|
|
|
|
|
Invalid config for 'iot_domain.non_adr_0007' at configuration.yaml, line 20: expected str for dictionary value 'option2', got 123, please check the docs at https://www.home-assistant.io/integrations/non_adr_0007
|
|
|
|
|
''',
|
|
|
|
|
"Invalid config for [adr_0007_2] at configuration.yaml, line 27: required key 'host' not provided. Please check the docs at https://www.home-assistant.io/integrations/adr_0007_2.",
|
|
|
|
|
"Invalid config for [adr_0007_3] at configuration.yaml, line 32: expected int for dictionary value 'adr_0007_3->port', got 'foo'. Please check the docs at https://www.home-assistant.io/integrations/adr_0007_3.",
|
|
|
|
|
"Invalid config for [adr_0007_4] at configuration.yaml, line 37: 'no_such_option' is an invalid option for [adr_0007_4], check: adr_0007_4->no_such_option. Please check the docs at https://www.home-assistant.io/integrations/adr_0007_4",
|
|
|
|
|
"Invalid config for 'adr_0007_2' at configuration.yaml, line 27: required key 'host' not provided, please check the docs at https://www.home-assistant.io/integrations/adr_0007_2",
|
|
|
|
|
"Invalid config for 'adr_0007_3' at configuration.yaml, line 32: expected int for dictionary value 'adr_0007_3->port', got 'foo', please check the docs at https://www.home-assistant.io/integrations/adr_0007_3",
|
|
|
|
|
"Invalid config for 'adr_0007_4' at configuration.yaml, line 37: 'no_such_option' is an invalid option for 'adr_0007_4', check: adr_0007_4->no_such_option, please check the docs at https://www.home-assistant.io/integrations/adr_0007_4",
|
|
|
|
|
'''
|
|
|
|
|
Invalid config for [adr_0007_5] at configuration.yaml, line 43: required key 'host' not provided. Please check the docs at https://www.home-assistant.io/integrations/adr_0007_5.
|
|
|
|
|
Invalid config for [adr_0007_5] at configuration.yaml, line 44: 'no_such_option' is an invalid option for [adr_0007_5], check: adr_0007_5->no_such_option. Please check the docs at https://www.home-assistant.io/integrations/adr_0007_5
|
|
|
|
|
Invalid config for [adr_0007_5] at configuration.yaml, line 45: expected int for dictionary value 'adr_0007_5->port', got 'foo'. Please check the docs at https://www.home-assistant.io/integrations/adr_0007_5.
|
|
|
|
|
Invalid config for 'adr_0007_5' at configuration.yaml, line 43: required key 'host' not provided, please check the docs at https://www.home-assistant.io/integrations/adr_0007_5
|
|
|
|
|
Invalid config for 'adr_0007_5' at configuration.yaml, line 44: 'no_such_option' is an invalid option for 'adr_0007_5', check: adr_0007_5->no_such_option, please check the docs at https://www.home-assistant.io/integrations/adr_0007_5
|
|
|
|
|
Invalid config for 'adr_0007_5' at configuration.yaml, line 45: expected int for dictionary value 'adr_0007_5->port', got 'foo', please check the docs at https://www.home-assistant.io/integrations/adr_0007_5
|
|
|
|
|
''',
|
|
|
|
|
"Invalid config for [custom_validator_ok_2] at configuration.yaml, line 52: required key 'host' not provided. Please check the docs at https://www.home-assistant.io/integrations/custom_validator_ok_2.",
|
|
|
|
|
'Invalid config for [custom_validator_bad_1] at configuration.yaml, line 55: broken Please check the docs at https://www.home-assistant.io/integrations/custom_validator_bad_1.',
|
|
|
|
|
"Invalid config for 'custom_validator_ok_2' at configuration.yaml, line 52: required key 'host' not provided, please check the docs at https://www.home-assistant.io/integrations/custom_validator_ok_2",
|
|
|
|
|
"Invalid config for 'custom_validator_bad_1' at configuration.yaml, line 55: broken, please check the docs at https://www.home-assistant.io/integrations/custom_validator_bad_1",
|
|
|
|
|
'Unknown error calling custom_validator_bad_2 config validator',
|
|
|
|
|
])
|
|
|
|
|
# ---
|
|
|
|
|