*** Settings ***
Documentation     Additional integration tests for cleveragents CLI commands
Library           Process
Library           OperatingSystem
Library           String
Resource    ${CURDIR}/v2_paths.resource

*** Variables ***
${PYTHON}              python

*** Test Cases ***
Check Context Command Help
    [Documentation]    Test that context command help is available
    ${result} =    Run Process    ${PYTHON}    -m    cleveragents    context    --help
    Should Be Equal As Integers    ${result.rc}    0
    Should Contain    ${result.stdout}    Context management

Check Actor Run Command Help
    [Documentation]    Test that actor run command help is available
    ${result} =    Run Process    ${PYTHON}    -m    cleveragents    actor    run    --help
    Should Be Equal As Integers    ${result.rc}    0
    Should Contain    ${result.stdout}    Usage:
    Should Contain    ${result.stdout}    actor run
