Commit 4e1a37e3 authored by Benoit Orihuela's avatar Benoit Orihuela
Browse files

chore: minor upgrade of used frameworks and libraries

parent 4b79906c
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -58,6 +58,15 @@ Launch the tests with the following command:

For more running instructions please consult [scripts/run_tests.sh](https://github.com/easy-global-market/isg-cim-tpdl-demo/blob/rf-demo/scripts/run_tests.sh).

# Frameworks and libraries used in the project

* [Robot Framework](https://github.com/robotframework/robotframework)
* [RESTinstance](https://github.com/asyrjasalo/RESTinstance)
* [JSON Schema Library](https://github.com/jstaffans/robotframework-jsonschemalibrary)
* [JSON Library](https://github.com/robotframework-thailand/robotframework-jsonlibrary)
* [Requests Library](https://github.com/MarketSquare/robotframework-requests)
* [Deep Diff](https://github.com/seperman/deepdiff)

# Useful links   

* [Robot Framework User Guide](http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#output-file)   
+3 −3
Original line number Diff line number Diff line
robotframework==3.2.1
robotframework==3.2.2
RESTinstance==1.0.2
robotframework-jsonschemalibrary==1.0
robotframework-jsonlibrary==0.3.1
robotframework-requests==0.7.0
deepdiff==5.0.2
robotframework-requests==0.8.0
deepdiff==5.2.1
+2 −2
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ Request Entity From File
    ${file_content}=    Get File    ${EXECDIR}/data/entities/${filename}
    Create Session    OneRequest      ${url}
    &{headers}=  Create Dictionary  Content-Type=application/ld+json
    ${response}=  POST Request      OneRequest   ${ENTITIES_ENDPOINT_PATH}  data=${file_content}    headers=${headers}
    ${response}=  POST On Session      OneRequest   ${ENTITIES_ENDPOINT_PATH}  data=${file_content}    headers=${headers}   expected_status=any
    Set Test Variable  ${response}

Batch Request Entities From File
@@ -144,7 +144,7 @@ Batch Request Entities From File
    ${endpoint_url}=    Get From Dictionary     ${BATCH_OPERATION_ENDPOINT_MAPPING}     ${batchOperation}
    Create Session    BatchRequest      ${url}
    &{headers}=  Create Dictionary  Content-Type=application/ld+json
    ${response}=  POST Request      BatchRequest   ${endpoint_url}  data=${file_content}    headers=${headers}
    ${response}=  POST On Session      BatchRequest   ${endpoint_url}  data=${file_content}    headers=${headers}   expected_status=any
    Set Test Variable  ${response}

Create Temporal Representation Of Entity