File tree 3 files changed +15
-6
lines changed
contrib/runners/orquesta_runner/tests/unit
st2api/tests/unit/controllers/v1
st2tests/integration/orquesta
3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -138,8 +138,11 @@ def test_fail_inspection(self):
138
138
},
139
139
{
140
140
'type' : 'syntax' ,
141
- 'message' : '[{\' cmd\' : \' echo <% ctx().macro %>\' }] is not of type \' object\' ' ,
142
- 'schema_path' : 'properties.tasks.patternProperties.^\w+$.properties.input.type' ,
141
+ 'message' : (
142
+ '[{\' cmd\' : \' echo <% ctx().macro %>\' }] is '
143
+ 'not valid under any of the given schemas'
144
+ ),
145
+ 'schema_path' : 'properties.tasks.patternProperties.^\w+$.properties.input.oneOf' ,
143
146
'spec_path' : 'tasks.task2.input'
144
147
}
145
148
]
Original file line number Diff line number Diff line change @@ -100,8 +100,11 @@ def test_inspection_return_errors(self):
100
100
},
101
101
{
102
102
'type' : 'syntax' ,
103
- 'message' : '[{\' cmd\' : \' echo <% ctx().macro %>\' }] is not of type \' object\' ' ,
104
- 'schema_path' : 'properties.tasks.patternProperties.^\w+$.properties.input.type' ,
103
+ 'message' : (
104
+ '[{\' cmd\' : \' echo <% ctx().macro %>\' }] is '
105
+ 'not valid under any of the given schemas'
106
+ ),
107
+ 'schema_path' : 'properties.tasks.patternProperties.^\w+$.properties.input.oneOf' ,
105
108
'spec_path' : 'tasks.task2.input'
106
109
}
107
110
]
Original file line number Diff line number Diff line change @@ -54,8 +54,11 @@ def test_inspection_error(self):
54
54
},
55
55
{
56
56
'type' : 'syntax' ,
57
- 'message' : '[{\' cmd\' : \' echo <% ctx().macro %>\' }] is not of type \' object\' ' ,
58
- 'schema_path' : 'properties.tasks.patternProperties.^\w+$.properties.input.type' ,
57
+ 'message' : (
58
+ '[{\' cmd\' : \' echo <% ctx().macro %>\' }] is '
59
+ 'not valid under any of the given schemas'
60
+ ),
61
+ 'schema_path' : 'properties.tasks.patternProperties.^\w+$.properties.input.oneOf' ,
59
62
'spec_path' : 'tasks.task2.input'
60
63
}
61
64
]
You can’t perform that action at this time.
0 commit comments