diff options
Diffstat (limited to 'robot/testsuites/security.robot')
-rw-r--r-- | robot/testsuites/security.robot | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/robot/testsuites/security.robot b/robot/testsuites/security.robot new file mode 100644 index 00000000..089e12ed --- /dev/null +++ b/robot/testsuites/security.robot @@ -0,0 +1,14 @@ +*** Settings *** +| Documentation | Security validation | +| ... | This suite requires declaring ${ACTUAL_NODEPORTS_FILE} | +| Default tags | security | +| Library | ONAPLibrary.JSON | + +*** Variables *** +| ${EXPECTED_NODEPORTS_FILE} | ../assets/security/ExpectedNodePorts.json | + +*** Test Cases *** +Validate present NodePorts +| | ${expected_nodeports}= | Get file | ${EXPECTED_NODEPORTS_FILE} | +| | ${actual_nodeports}= | Get file | ${ACTUAL_NODEPORTS_FILE} | +| | JSON should contain sub JSON | ${expected_node_ports} | ${actual_node_ports} | |