Fix warning about deprecation of 'Run Keyword Unless' keyword
[osm/tests.git] / robot-systest / testsuite / basic_08-disable_port_security_network_level.robot
index 80dd018..41228ea 100644 (file)
@@ -59,7 +59,7 @@ Instantiate Network Service
 Check Port Security Is Disabled
 
     ${rc}   ${disabled_ports}=   Run and Return RC and Output   osm ns-show ${ns_name} --literal | grep -c '${port_disabled_msg}'
-    Run Keyword Unless   ${disabled_ports} > 0   Fail   msg=Found '${disabled_ports}' matches for '${port_disabled_msg}'
+    Run Keyword If   ${disabled_ports} <= 0   Fail   msg=Found '${disabled_ports}' matches for '${port_disabled_msg}'
 
 
 Delete NS Instance