*** Settings ***
Documentation    Smoke test for UnitOfWork lifecycle repository wiring
Library          Process
Library          OperatingSystem
Library          String

*** Test Cases ***
UoW Lifecycle Action And Plan Via Helper Script
    [Documentation]    Create action + plan via UoW, verify retrieval in new session
    ${result}=    Run Process    ${PYTHON}    ${CURDIR}/helper_uow_lifecycle.py
    ...    stderr=STDOUT    timeout=120s    on_timeout=kill
    Log    ${result.stdout}
    Should Contain    ${result.stdout}    PASS: uow_lifecycle smoke test
    Should Be Equal As Integers    ${result.rc}    0
