Commit 9f7ea593 authored by Benoit Orihuela's avatar Benoit Orihuela
Browse files

fix: bad usages of the ignored list of attributes when checking results of actions

parent e43b8d1b
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -33,7 +33,6 @@ Append Attributes Without Params

    ${entity_expectation_payload}=    Load Test Sample   entities/expectations/${expectation_filename}    ${entity_id}
    Retrieve Entity by Id   ${entity_id}   context=${ngsild_test_suite_context}   accept=${CONTENT_TYPE_LD_JSON}
    ${ignored_attributes}=  Create List    ${status_regex_expr}
    Check Updated Resource Set To     ${entity_expectation_payload}

    [Teardown]  Delete Entity by Id Returning Response   ${entity_id}
@@ -54,7 +53,7 @@ Append Attributes With Params

    ${entity_expectation_payload}=    Load Test Sample   entities/expectations/${expectation_filename}    ${entity_id}
    Retrieve Entity by Id   ${entity_id}   context=${ngsild_test_suite_context}   accept=${CONTENT_TYPE_LD_JSON}
    ${ignored_attributes}=  Create List    ${status_regex_expr}    @context
    Check Updated Resource Set To     ${entity_expectation_payload}
    ${ignored_attributes}=  Create List    @context
    Check Updated Resource Set To     ${entity_expectation_payload}   ${ignored_attributes}

    [Teardown]  Delete Entity by Id Returning Response   ${entity_id}
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ Delete Attributes

    ${entity_expectation_payload}=    Load Test Sample   entities/expectations/${expectation_filename}    ${entity_id}
    Retrieve Entity by Id   ${entity_id}   context=${ngsild_test_suite_context}   accept=${CONTENT_TYPE_LD_JSON}
    ${ignored_attributes}=  Create List    ${status_regex_expr}    @context
    Check Updated Resource Set To     ${entity_expectation_payload}
    ${ignored_attributes}=  Create List    @context
    Check Updated Resource Set To     ${entity_expectation_payload}   ${ignored_attributes}

    [Teardown]  Delete Entity by Id Returning Response   ${entity_id}
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -30,8 +30,8 @@ Update Attributes

    ${entity_expectation_payload}=    Load Test Sample   entities/expectations/${expectation_filename}    ${entity_id}
    Retrieve Entity by Id   ${entity_id}   context=${ngsild_test_suite_context}   accept=${CONTENT_TYPE_LD_JSON}
    ${ignored_attributes}=  Create List    ${status_regex_expr}    @context
    Check Updated Resource Set To     ${entity_expectation_payload}
    ${ignored_attributes}=  Create List    @context
    Check Updated Resource Set To     ${entity_expectation_payload}   ${ignored_attributes}


    [Teardown]  Delete Entity by Id Returning Response   ${entity_id}
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ Update Attributes

    ${entity_expectation_payload}=    Load Test Sample   entities/${expectation_filename}    ${entity_id}
    Retrieve Entity by Id   ${entity_id}   context=${ngsild_test_suite_context}   accept=${CONTENT_TYPE_LD_JSON}
    ${ignored_attributes}=  Create List    ${status_regex_expr}    @context
    Check Updated Resource Set To     ${entity_expectation_payload}
    ${ignored_attributes}=  Create List    @context
    Check Updated Resource Set To     ${entity_expectation_payload}   ${ignored_attributes}

    [Teardown]  Delete Entity by Id Returning Response   ${entity_id}
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ ${expectation_filename}= vehicle-temporal-representation-update-expectation.jso

    ${temporal_entity_expectation_payload}=    Load Test Sample   temporalEntities/expectations/${expectation_filename}    ${temporal_entity_representation_id}
    Retrieve Temporal Representation Of Entity   ${temporal_entity_representation_id}    context=${ngsild_test_suite_context}   accept=${CONTENT_TYPE_LD_JSON}
    ${ignored_attributes}=  Create List    ${status_regex_expr}    instanceId    @context
    Check Updated Resource Set To     ${temporal_entity_expectation_payload}
    ${ignored_attributes}=  Create List    instanceId    @context
    Check Updated Resource Set To     ${temporal_entity_expectation_payload}   ${ignored_attributes}

    [Teardown]    Delete Temporal Representation Of Entity    ${temporal_entity_representation_id}
 No newline at end of file
Loading