fix(skills): fix robot integration test YAML creation for skill: wrapper key test
This commit is contained in:
@@ -53,7 +53,13 @@ Validate Spec-Compliant Skill YAML With skill: Wrapper Key
|
||||
[Tags] tdd_issue tdd_issue_1472
|
||||
[Documentation] Parse a spec-compliant YAML with cleveragents: header and skill: wrapper key
|
||||
${wrapped_yaml}= Set Variable ${TEMPDIR}${/}wrapped_skill.yaml
|
||||
${yaml_content}= Set Variable cleveragents:\n version: "1.0"\nskill:\n name: local/wrapped-skill\n description: "A wrapped skill"\n
|
||||
${yaml_content}= Catenate SEPARATOR=\n
|
||||
... cleveragents:
|
||||
... ${SPACE}${SPACE}version: "1.0"
|
||||
... skill:
|
||||
... ${SPACE}${SPACE}name: local/wrapped-skill
|
||||
... ${SPACE}${SPACE}description: "A wrapped skill"
|
||||
...
|
||||
Create File ${wrapped_yaml} ${yaml_content}
|
||||
${result}= Run Process ${PYTHON} ${HELPER} validate ${wrapped_yaml} cwd=${WORKSPACE}
|
||||
Log ${result.stdout}
|
||||
|
||||
Reference in New Issue
Block a user