Commit 36fff913 authored by Benoit Orihuela's avatar Benoit Orihuela Committed by Andrea Il Grande
Browse files

chore: apply Robotidy to all Robot files

parent 14b6fef6
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
@@ -34,7 +34,10 @@ ${parking_entity_type}= https://ngsi-ld-test-suite/context#OffStreetParking
    ...    accept=${CONTENT_TYPE_GEOJSON}
    ...    context=${ngsild_test_suite_context}
    Check Response Status Code    200    ${response.status_code}
    ${alternatives}=	Create List	${expectation_filename}	${expectation_filename_alt1}	${expectation_filename_alt2}
    ${alternatives}=    Create List
    ...    ${expectation_filename}
    ...    ${expectation_filename_alt1}
    ...    ${expectation_filename_alt2}
    Check Body With Alternatives
    ...    response_body=${response.json()}
    ...    alternatives=${alternatives}
+11 −8
Original line number Diff line number Diff line
@@ -32,13 +32,16 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building
    ...    accept=${CONTENT_TYPE_GEOJSON}
    ...    context=${ngsild_test_suite_context}


    Check Response Status Code    200    ${response.status_code}
    ${alternatives}=	Create List	${expectation_filename}	${expectation_filename_alt1}	${expectation_filename_alt2}
    ${alternatives}=    Create List
    ...    ${expectation_filename}
    ...    ${expectation_filename_alt1}
    ...    ${expectation_filename_alt2}
    Check Body With Alternatives
    ...    response_body=${response.json()}
    ...    alternatives=${alternatives}


*** Keywords ***
Create Initial Entities
    ${first_entity_id}=    Catenate    ${building_id_prefix}019-05-01
+5 −3
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ ${entity_payload_filename} vehicle-simple-attributes.json
${registration_id_prefix}               urn:ngsi-ld:Registration:
${registration_payload_file_path}       csourceRegistrations/context-source-registration-vehicle-complete.jsonld


*** Test Cases ***
D011_01_01_inc Query The Context Broker With Type
    [Documentation]    Check that if one queries the Context Broker for type, entity with matching type on a Context Source gets returned
@@ -31,6 +32,7 @@ D011_01_01_inc Query The Context Broker With Type
    @{entities_id}=    Create List    ${entity_id}
    Check Response Body Containing Entities URIS set to    ${entities_id}    ${response.json()}


*** Keywords ***
Setup Registration And Start Context Source Mock Server
    ${entity_id}=    Generate Random Entity Id    ${entity_id_prefix}
+4 −3
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ ${entity_payload_filename} vehicle-simple-attributes.jsonld
${registration_id_prefix}               urn:ngsi-ld:Registration:
${registration_payload_file_path}       csourceRegistrations/context-source-registration-vehicle-complete.jsonld


*** Test Cases ***
D011_01_02_inc Query The Context Broker With Type And Missing Attribute
    [Documentation]    Check that if one queries for type and an attribute that is missing, no entity gets returned
+4 −3
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ ${entity_payload_filename2} vehicle-simple-attributes-second.json
${registration_id_prefix}               urn:ngsi-ld:Registration:
${registration_payload_file_path}       csourceRegistrations/context-source-registration-vehicle-entities.jsonld


*** Test Cases ***
D011_01_03_inc Query The Context Broker With Type and Attribute
    [Documentation]    Check that if one queries for attribute present in an entity on a Context Source, only that entity gets returned
Loading