Commit beb0574c authored by lopezaguilar's avatar lopezaguilar
Browse files

Adding code style changes

parent ce7a3123
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -27,10 +27,10 @@ ${subscription_fragment}= subscriptions/fragments/subscription-update-samp
    ...    ${CONTENT_TYPE_LD_JSON}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Partial Update Entity Attributes
    ...    ${entity_id}
    ...    ${attribute_id}
    ...    ${vehicle_fragment}
    ...    ${CONTENT_TYPE_MERGE_PATCH_JSON}
    ...    entityId=${entity_id}
    ...    attributeId=${attribute_id}
    ...    fragment_filename=${vehicle_fragment}
    ...    content_type=${CONTENT_TYPE_MERGE_PATCH_JSON}
    ...    context=${ngsild_test_suite_context}
    Check Response Status Code    204    ${response.status_code}
    [Teardown]    Delete Entity by Id    ${entity_id}
+4 −4
Original line number Diff line number Diff line
@@ -32,10 +32,10 @@ ${content_type}= application/xml
    ...    ${CONTENT_TYPE_LD_JSON}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Partial Update Entity Attributes
    ...    ${entity_id}
    ...    ${vehicle_attribute}
    ...    ${vehicle_fragment}
    ...    ${content_type}
    ...    entityId=${entity_id}
    ...    attributeId=${vehicle_attribute}
    ...    fragment_filename=${vehicle_fragment}
    ...    content_type=${content_type}
    Check Response Status Code    415    ${response.status_code}
    [Teardown]    Delete Entity by Id Returning Response    ${entity_id}

+4 −2
Original line number Diff line number Diff line
@@ -9,9 +9,11 @@ Test Template Batch Delete Entity With Invalid Request Scenarios


*** Test Cases ***    FILENAME    PROBLEM_TYPE
006_03_01 InvalidJson    [Tags]    be-delete    5_6_10
006_03_01 InvalidJson
    [Tags]    be-delete    5_6_10
    batch/invalid-json-sample.jsonld    ${ERROR_TYPE_INVALID_REQUEST}
006_03_02 EmptyJson    [Tags]    be-delete    5_6_10
006_03_02 EmptyJson
    [Tags]    be-delete    5_6_10
    batch/empty-sample.jsonld    ${ERROR_TYPE_BAD_REQUEST_DATA}


+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ ${entity_payload_filename}= building-simple-attributes-sample.jsonld
005_01_02 EntityWithSimpleRelationships
    [Tags]    be-update    5_6_9
    building-relationship-sample.jsonld    fragmentEntities/locatedAt-fragment.json
EntityWithRelationshipsProperties
005_01_03 EntityWithRelationshipsProperties
    [Tags]    be-update    5_6_9
    building-relationship-of-property-sample.jsonld    fragmentEntities/airQualityLevel-with-relationship-fragment.json

+4 −2
Original line number Diff line number Diff line
@@ -9,9 +9,11 @@ Test Template Batch Update Entity With Invalid Request Scenarios


*** Test Cases ***    FILENAME    PROBLEM_TYPE
005_04_01 InvalidJson    [Tags]    be-update    5_6_9
005_04_01 InvalidJson
    [Tags]    be-update    5_6_9
    batch/invalid-json-sample.jsonld    ${ERROR_TYPE_INVALID_REQUEST}
005_04_02 InvalidJsonLd    [Tags]    be-update    5_6_9
005_04_02 InvalidJsonLd
    [Tags]    be-update    5_6_9
    batch/invalid-json-ld-sample.jsonld    ${ERROR_TYPE_BAD_REQUEST_DATA}


Loading