diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot index ac5027204751bfe86fca7d6ff5c7ac9e530db236..645b32b1f0dad2f8bb489dbcc1c1c0657fd9ffee 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot @@ -28,7 +28,7 @@ ${filename}= building-simple-attributes-sample.json Retrieve Details Of Available Attributes [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD attributes [Arguments] ${context} ${expectation_file} - ${response}= Retrieve Attributes context=${context} details=${TRUE} + ${response}= Retrieve Attributes context=${context} details=true Check Response Status Code 200 ${response.status_code} Check Response Body Containing Attribute element ${expectation_file} ${response.json()} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot index d4a5452f313744339597575942544c270eaf90cf..21e578f124f7dfcc9b2b13ed03d694bc830454cd 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot @@ -30,7 +30,7 @@ ${second_filename}= vehicle-simple-attributes-sample.json Retrieve Details Of Available Entity Types [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD entity types [Arguments] ${context} ${expectation_file} - ${response}= Retrieve Entity Types context=${context} details=${TRUE} + ${response}= Retrieve Entity Types context=${context} details=true Check Response Status Code 200 ${response.status_code} Check Response Body Containing EntityType element ${expectation_file} ${response.json()} diff --git a/resources/ApiUtils/ContextInformationConsumption.resource b/resources/ApiUtils/ContextInformationConsumption.resource index 442f29293267a542a5dbeccc9c8577dcec56175a..8750b7d30187fc3fa65f538fa053579f428f0ce1 100755 --- a/resources/ApiUtils/ContextInformationConsumption.resource +++ b/resources/ApiUtils/ContextInformationConsumption.resource @@ -140,7 +140,7 @@ Retrieve Attribute RETURN ${response} Retrieve Attributes - [Arguments] ${context}=${EMPTY} ${details}=${FALSE} ${accept}=${EMPTY} + [Arguments] ${context}=${EMPTY} ${details}=false ${accept}=${EMPTY} &{headers}= Create Dictionary &{params}= Create Dictionary @@ -152,7 +152,7 @@ Retrieve Attributes ... ${headers} ... Link=<${context}>; rel="http://www.w3.org/ns/json-ld#context";type="application/ld+json" END - IF ${details} Set To Dictionary ${params} details=${details} + Set To Dictionary ${params} details=${details} ${response}= GET ... url=${url}/${ATTRIBUTES_ENDPOINT_PATH} ... headers=${headers} @@ -206,7 +206,7 @@ Retrieve Entity Type RETURN ${response} Retrieve Entity Types - [Arguments] ${context}=${EMPTY} ${details}=${FALSE} ${accept}=${EMPTY} + [Arguments] ${context}=${EMPTY} ${details}=false ${accept}=${EMPTY} &{headers}= Create Dictionary &{params}= Create Dictionary @@ -218,7 +218,7 @@ Retrieve Entity Types ... ${headers} ... Link=<${context}>; rel="http://www.w3.org/ns/json-ld#context";type="application/ld+json" END - IF ${details} Set To Dictionary ${params} details=${details} + Set To Dictionary ${params} details=${details} ${response}= GET ... url=${url}/${ENTITIES_TYPES_ENDPOINT_PATH}/ ... headers=${headers}