forked from cleveragents/cleveragents-core
25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
*** Settings ***
|
|
Documentation Integration tests for project repositories: NamespacedProjectRepository
|
|
... and ProjectResourceLinkRepository round-trip persistence.
|
|
Resource ${CURDIR}/common.resource
|
|
Suite Setup Setup Test Environment
|
|
Suite Teardown Cleanup Test Environment
|
|
|
|
*** Variables ***
|
|
${HELPER_SCRIPT} robot/helper_project_repository.py
|
|
|
|
*** Test Cases ***
|
|
Project Repository CRUD Round Trip
|
|
[Documentation] Verify project create, get, list, update, delete via repository
|
|
[Tags] database project repository roundtrip
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} project-crud cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} project-crud-ok
|
|
|
|
Link Repository CRUD Round Trip
|
|
[Documentation] Verify link create, list, get, remove, and alias uniqueness via repository
|
|
[Tags] database project link repository roundtrip
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} link-crud cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} link-crud-ok
|