Commit 70ee1e24 authored by Serafino Pirronitto's avatar Serafino Pirronitto Committed by Giuseppe Tropea
Browse files

Corrections

parent fe187e1b
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
*** Settings ***
*** 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/ContextInformationConsumption.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -17,7 +17,7 @@ ${filename}= building-simple-attributes-sample.json


*** Test Cases ***
*** Test Cases ***
027_01_01 Retrieve Detailed Representation Of Available Attribute Without Context
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
    [Tags]    ed-attr    5_7_10
    ${response}=    Retrieve Attribute    attribute_name=airQualityLevel
    ${response}=    Retrieve Attribute    attribute_name=airQualityLevel
    Check Response Status Code    404    ${response.status_code}
    Check Response Status Code    404    ${response.status_code}
+2 −2
Original line number Original line Diff line number Diff line
*** Settings ***
*** 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/ContextInformationConsumption.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -18,7 +18,7 @@ ${expectation_file}= types/expectations/attribute-027-01-expectation.json


*** Test Cases ***
*** Test Cases ***
027_02_01 Retrieve Detailed Representation Of Available Attribute
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
    [Tags]    ed-attr    5_7_10
    ${response}=    Retrieve Attribute    attribute_name=airQualityLevel    context=${ngsild_test_suite_context}
    ${response}=    Retrieve Attribute    attribute_name=airQualityLevel    context=${ngsild_test_suite_context}
    Check Response Status Code    200    ${response.status_code}
    Check Response Status Code    200    ${response.status_code}
+2 −2
Original line number Original line Diff line number Diff line
*** Settings ***
*** 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/ContextInformationConsumption.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -27,7 +27,7 @@ ${filename}= building-simple-attributes-sample.json


*** Keywords ***
*** Keywords ***
Retrieve Available Attributes
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}
    [Arguments]    ${context}    ${expectation_file}
    ${response}=    Retrieve Attributes
    ${response}=    Retrieve Attributes
    ...    context=${context}
    ...    context=${context}
+2 −2
Original line number Original line Diff line number Diff line
*** Settings ***
*** 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/ContextInformationConsumption.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -17,7 +17,7 @@ ${filename}= building-simple-attributes-sample.json


*** Test Cases ***
*** Test Cases ***
024_01_01 Retrieve Detailed Representation Of Available Entity Type Without Context
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
    [Tags]    ed-type    5_7_7
    ${response}=    Retrieve Entity Type    type=Building
    ${response}=    Retrieve Entity Type    type=Building
    Check Response Status Code    404    ${response.status_code}
    Check Response Status Code    404    ${response.status_code}
+2 −2
Original line number Original line Diff line number Diff line
*** Settings ***
*** 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/ContextInformationConsumption.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
Resource            ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource
@@ -18,7 +18,7 @@ ${expectation_file}= types/expectations/entity-type-info-024-01-expectati


*** Test Cases ***
*** Test Cases ***
024_02_01 Retrieve Detailed Representation Of Available Entity Type
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
    [Tags]    ed-type    5_7_7
    ${response}=    Retrieve Entity Type    type=Building    context=${ngsild_test_suite_context}
    ${response}=    Retrieve Entity Type    type=Building    context=${ngsild_test_suite_context}
    Check Response Status Code    200    ${response.status_code}
    Check Response Status Code    200    ${response.status_code}
Loading