Check service function types are removed
[integration/test.git] / csit / libraries / SFC / SfcKeywords.robot
index 639ec384b758c0965e2570375efb5a5f65125b53..f6309b293b2af9b1742b18c683a25c0c255db7be 100644 (file)
@@ -20,11 +20,16 @@ Check Classifier Flows
     Should Contain Match    ${flowList}    *actions=pop_nsh*
     Should Contain Match    ${flowList}    *actions=push_nsh*
 
-Check Service Function Types
+Check Service Function Types Added
     [Arguments]    ${elements}
     [Documentation]    Check that the service function types are updated with the service function names
     Check For Elements At URI    ${SERVICE_FUNCTION_TYPES_URI}    ${elements}
 
+Check Service Function Types Removed
+    [Arguments]    ${elements}
+    [Documentation]    Check that the service function names are removed from the service function types
+    Check For Elements Not At URI    ${SERVICE_FUNCTION_TYPES_URI}    ${elements}
+
 Switch Ips In Json Files
     [Arguments]    ${json_dir}    ${container_names}
     ${normalized_dir}=    OperatingSystem.Normalize Path    ${json_dir}/*.json