Commit bcbd9715 authored by Giuseppe Tropea's avatar Giuseppe Tropea
Browse files

Merge branch 'corrections' into 'develop'

Corrections

See merge request !139
parents fe187e1b 70ee1e24
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
*** Settings ***
Documentation       Check that you cannot retrieve a detailed representation of an unknown NGSI-LD attribute
Documentation       Check that one cannot retrieve a detailed representation of an unknown NGSI-LD attribute

Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -17,7 +17,7 @@ ${filename}= building-simple-attributes-sample.json

*** Test Cases ***
027_01_01 Retrieve Detailed Representation Of Available Attribute Without Context
    [Documentation]    Check that you cannot retrieve a detailed representation of an unknown NGSI-LD attribute
    [Documentation]    Check that one cannot retrieve a detailed representation of an unknown NGSI-LD attribute
    [Tags]    ed-attr    5_7_10
    ${response}=    Retrieve Attribute    attribute_name=airQualityLevel
    Check Response Status Code    404    ${response.status_code}
+2 −2
Original line number Diff line number Diff line
*** Settings ***
Documentation       Check that you can retrieve a list with a detailed representation of NGSI-LD attributes
Documentation       Check that one can retrieve a list with a detailed representation of NGSI-LD attributes

Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -18,7 +18,7 @@ ${expectation_file}= types/expectations/attribute-027-01-expectation.json

*** Test Cases ***
027_02_01 Retrieve Detailed Representation Of Available Attribute
    [Documentation]    Check that you can retrieve a list with a detailed representation of NGSI-LD attributes
    [Documentation]    Check that one can retrieve a list with a detailed representation of NGSI-LD attributes
    [Tags]    ed-attr    5_7_10
    ${response}=    Retrieve Attribute    attribute_name=airQualityLevel    context=${ngsild_test_suite_context}
    Check Response Status Code    200    ${response.status_code}
+2 −2
Original line number Diff line number Diff line
*** Settings ***
Documentation       Check that you can retrieve a list of NGSI-LD attributes
Documentation       Check that one can retrieve a list of NGSI-LD attributes

Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -27,7 +27,7 @@ ${filename}= building-simple-attributes-sample.json

*** Keywords ***
Retrieve Available Attributes
    [Documentation]    Check that you can retrieve a list of NGSI-LD attributes
    [Documentation]    Check that one can retrieve a list of NGSI-LD attributes
    [Arguments]    ${context}    ${expectation_file}
    ${response}=    Retrieve Attributes
    ...    context=${context}
+2 −2
Original line number Diff line number Diff line
*** Settings ***
Documentation       Check that you cannot retrieve a detailed representation of an unknown NGSI-LD entity type
Documentation       Check that one cannot retrieve a detailed representation of an unknown NGSI-LD entity type

Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -17,7 +17,7 @@ ${filename}= building-simple-attributes-sample.json

*** Test Cases ***
024_01_01 Retrieve Detailed Representation Of Available Entity Type Without Context
    [Documentation]    Check that you cannot retrieve a detailed representation of an unknown NGSI-LD entity type
    [Documentation]    Check that one cannot retrieve a detailed representation of an unknown NGSI-LD entity type
    [Tags]    ed-type    5_7_7
    ${response}=    Retrieve Entity Type    type=Building
    Check Response Status Code    404    ${response.status_code}
+2 −2
Original line number Diff line number Diff line
*** Settings ***
Documentation       Check that you can retrieve a detailed representation of a specified NGSI-LD entity type
Documentation       Check that one can retrieve a detailed representation of a specified NGSI-LD entity type

Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -18,7 +18,7 @@ ${expectation_file}= types/expectations/entity-type-info-024-01-expectati

*** Test Cases ***
024_02_01 Retrieve Detailed Representation Of Available Entity Type
    [Documentation]    Check that you can retrieve a detailed representation of a specified NGSI-LD entity type
    [Documentation]    Check that one can retrieve a detailed representation of a specified NGSI-LD entity type
    [Tags]    ed-type    5_7_7
    ${response}=    Retrieve Entity Type    type=Building    context=${ngsild_test_suite_context}
    Check Response Status Code    200    ${response.status_code}
Loading