diff options
author | 2018-08-31 15:46:18 +0000 | |
---|---|---|
committer | 2018-08-31 15:46:18 +0000 | |
commit | 3403efee23c784c0dd81caa69f0d80143a72e089 (patch) | |
tree | 41d0e95cf0784396f4b32bc1dde0989d399b6f14 /test/csit/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot | |
parent | a5a97952c32ad002e8cf1f296c279b8fdc7491ad (diff) | |
parent | 68a1bbc74a26d4ffe3ad1b762c190f36901e785e (diff) |
Merge "Write HV-VES testcase for SSL authorization"
Diffstat (limited to 'test/csit/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot')
-rw-r--r-- | test/csit/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot b/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot index af4cd71da..345118657 100644 --- a/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot +++ b/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot @@ -4,15 +4,27 @@ Library VesHvContainersUtilsLibrary Library Collections *** Keywords *** -Configure xNF Simulators On Ports +Configure Valid xNF Simulators On Ports [Arguments] ${XNF_PORTS_LIST} - ${XNF_SIMULATORS_ADDRESSES}= Start Xnf Simulators ${XNF_PORTS_LIST} True - Set Suite Variable ${XNF_SIMULATORS_ADDRESSES} + ${VALID_XNF_SIMULATORS_ADDRESSES}= Start Xnf Simulators ${XNF_PORTS_LIST} True + Set Suite Variable ${VALID_XNF_SIMULATORS_ADDRESSES} -Get xNF Simulators +Configure Invalid xNF Simulators On Ports + [Arguments] ${XNF_PORTS_LIST} + ${INVALID_XNF_SIMULATORS_ADDRESSES}= Start Xnf Simulators ${XNF_PORTS_LIST} False + Set Suite Variable ${INVALID_XNF_SIMULATORS_ADDRESSES} + + +Get Valid xNF Simulators + [Arguments] ${AMOUNT} + ${SIMULATORS}= Get Slice From List ${VALID_XNF_SIMULATORS_ADDRESSES} 0 ${AMOUNT} + [Return] ${SIMULATORS} + + +Get Invalid xNF Simulators [Arguments] ${AMOUNT} - ${SIMULATORS}= Get Slice From List ${XNF_SIMULATORS_ADDRESSES} 0 ${AMOUNT} + ${SIMULATORS}= Get Slice From List ${INVALID_XNF_SIMULATORS_ADDRESSES} 0 ${AMOUNT} [Return] ${SIMULATORS} |