dbca60c98e
CI / lint (pull_request) Successful in 14s
CI / typecheck (pull_request) Successful in 27s
CI / security (pull_request) Successful in 23s
CI / quality (pull_request) Successful in 16s
CI / integration_tests (pull_request) Failing after 3m31s
CI / build (pull_request) Successful in 15s
CI / lint (push) Successful in 13s
CI / typecheck (push) Successful in 28s
CI / security (push) Successful in 23s
CI / quality (push) Successful in 15s
CI / unit_tests (pull_request) Failing after 9m45s
CI / docker (pull_request) Has been skipped
CI / integration_tests (push) Failing after 3m30s
CI / build (push) Successful in 15s
CI / unit_tests (push) Failing after 9m42s
CI / docker (push) Has been skipped
CI / coverage (pull_request) Failing after 3m29s
CI / coverage (push) Failing after 3m28s
32 lines
1.5 KiB
Plaintext
32 lines
1.5 KiB
Plaintext
*** Settings ***
|
|
Documentation Integration tests for project migration: NamespacedProjectModel
|
|
... and ProjectResourceLinkModel round-trip persistence with SQLite.
|
|
Resource ${CURDIR}/common.resource
|
|
Suite Setup Setup Test Environment
|
|
Suite Teardown Cleanup Test Environment
|
|
|
|
*** Variables ***
|
|
${HELPER_SCRIPT} robot/helper_project_migration.py
|
|
|
|
*** Test Cases ***
|
|
Project Table Round Trip
|
|
[Documentation] Verify NamespacedProjectModel can insert and retrieve a project
|
|
[Tags] database project roundtrip
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} project-round-trip cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} project-round-trip-ok
|
|
|
|
Project Resource Link Round Trip
|
|
[Documentation] Verify ProjectResourceLinkModel can link a resource to a project
|
|
[Tags] database project link roundtrip
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} link-round-trip cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} link-round-trip-ok
|
|
|
|
Project Domain Conversion
|
|
[Documentation] Verify NamespacedProjectModel to_domain and from_domain work
|
|
[Tags] database project domain
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} domain-conversion cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} domain-conversion-ok
|