*** Settings ***
Library    OperatingSystem
Library    Collections
Library    Process

*** Test Cases ***
Actor Registry Lists Actors With YAML Metadata
    ${result}=    Run Process    ${PYTHON}    robot/helper_actor_registry_persistence.py    list_yaml_metadata
    ...    stderr=STDOUT    timeout=120s    on_timeout=kill
    Should Be Equal As Integers    ${result.rc}    0
    Should Contain    ${result.stdout}    yaml-metadata-ok

Actor Registry Schema Version Defaults To 1.0
    ${result}=    Run Process    ${PYTHON}    robot/helper_actor_registry_persistence.py    schema_version_default
    ...    stderr=STDOUT    timeout=120s    on_timeout=kill
    Should Be Equal As Integers    ${result.rc}    0
    Should Contain    ${result.stdout}    schema-version-default-ok

Actor Namespaced Name Validation
    ${result}=    Run Process    ${PYTHON}    robot/helper_actor_registry_persistence.py    namespaced_name
    ...    stderr=STDOUT    timeout=120s    on_timeout=kill
    Should Be Equal As Integers    ${result.rc}    0
    Should Contain    ${result.stdout}    namespaced-name-ok
