Fix the JSONRPC read service issue
[integration/test.git] / csit / libraries / PcepOperations.robot
index 23b8c628afbb9b69955eafeac5c797276cec30be..6455a6a77165a1f884f40018cd03a6011095d56e 100644 (file)
@@ -54,7 +54,7 @@ Operate_Xml_Lsp_Return_Json
     [Documentation]    Post XML data to given pcep-operations URI, check status_code is 200 and return response text (JSON).
     ${response}=    RequestsLibrary.Post Request    pcep_session    ${uri_part}    data=${xml_data}
     Log    ${xml_data}
-    Should_Be_Equal_As_Strings    ${response.status_code}    200
+    Should Contain    ${ALLOWED_STATUS_CODES}    ${response.status_code}
     [Return]    ${response.text}
 
 Pcep_Json_Is_Success