Untitled

mail@pastecode.io avatar
unknown
gherkin
a year ago
499 B
1
Indexable
Never
*** Settings ***
Library           RobsterLibrary

*** Variables ***
${LIST_KEY_VALUE}    Create List    ${0}    ${1}    ${2}
&{RESULT_FORM}    Create Dictionary    str_key="string value"    int_key=${42}    list_key=${LIST_KEY_VALUE}

*** Test Cases ***
Validate Json Should Be Correct
    @{test_list_value}=    Create List    0
    &{good_dict}=    Create Dictionary    str_key="good_string"    int_key=${1}    list_key=@{test_list_value}
    Dict ${good_dict} Should Be In Schema &{RESULT_FORM}