Replace 'Run Keyword Unless'
[integration/test.git] / csit / suites / netconf / clustering / outages.robot
index 9c6a000d425f6923eb4a518b4dfa27c1aa278252..21315dbd8ef867ae52cbefa38c97382c805b517e 100644 (file)
@@ -228,5 +228,5 @@ Check_Config_Data
     [Documentation]    Check that the specified session sees the specified data in the test tool device.
     ${url}=    Builtin.Set_Variable    ${REST_API}/network-topology:network-topology/topology=topology-netconf/node=${DEVICE_NAME}/yang-ext:mount?content=config
     ${data}=    TemplatedRequests.Get_As_Xml_From_Uri    ${url}    session=${node}
-    BuiltIn.Run_Keyword_Unless    ${contains}    BuiltIn.Should_Be_Equal_As_Strings    ${data}    ${expected}
+    BuiltIn.Run_Keyword_If    not ${contains}    BuiltIn.Should_Be_Equal_As_Strings    ${data}    ${expected}
     BuiltIn.Run_Keyword_If    ${contains}    BuiltIn.Should_Contain    ${data}    ${expected}