Loading TP/NGSI-LD/CommonBehaviours/044_02.robot +0 −5 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ ${tea_expectation}= vehicles-temporal-representation-044-02-04-expectation.json ${teatype}= Vehicle ${content_type}= application/json ${accept}= application/json, */* *** Test Cases *** 044_02_01_endpoint /entities/{entityId} Loading @@ -37,7 +36,6 @@ ${accept}= application/json, */* ${request} ${response}= Query Entity ${id} context=${ngsild_test_suite_context} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${building_expectation} ${id} ${response['body']} Check Request Containing Accept Header Set To ${request} ${accept} Check Response Headers Containing Content-Type set to ${response} ${content_type} Check Response Headers Link Not Empty ${response} Loading @@ -53,7 +51,6 @@ ${accept}= application/json, */* ${request} ${response}= Retrieve Subscription ${id} Check Response Status Code 200 ${response['status']} Check Response Body Containing One Subscription element ${subscription_expectation} ${response['body']} Check Request Containing Accept Header Set To ${request} ${accept} Check Response Headers Containing Content-Type set to ${response} ${content_type} Check Response Headers Link Not Empty ${response} Loading @@ -71,7 +68,6 @@ ${accept}= application/json, */* ${request} ${response}= Query Context Source Registrations With Return id=${registration_id} type=${registration_type} context=${ngsild_test_suite_context} Check Response Status Code 200 ${response['status']} Check Response Body Containing One Registration element ${registration_expectation} ${response['body']} Check Request Containing Accept Header Set To ${request} ${accept} Check Response Headers Containing Content-Type set to ${response} ${content_type} Check Response Headers Link Not Empty ${response} Loading @@ -87,7 +83,6 @@ ${accept}= application/json, */* Check Response Status Code 200 ${response['status']} Set Test Variable ${response} Check Response Body Containing EntityTemporal element ${tea_expectation} ${temporal_entity_representation_id} Check Request Containing Accept Header Set To ${request} ${accept} Check Response Headers Containing Content-Type set to ${response} ${content_type} Check Response Headers Link Not Empty ${response} Loading resources/AssertionUtils.resource +0 −6 Original line number Diff line number Diff line Loading @@ -37,12 +37,6 @@ Check Response Body Content ${comparison_result}= Compare Dictionaries Ignoring Keys ${response_body} ${entity_payload} ${all_ignored_paths} Should Be True ${comparison_result} msg=Entity Comparison Failed Check Request Containing Accept Header Set To [Arguments] ${request} ${expected_accept_content} Run Keyword If 'Accept' in ${request['headers']} Should Be Equal ${expected_accept_content} ${request['headers']['Accept']} ignore_order=True Run Keyword If 'accept' in ${request['headers']} Should Be Equal ${expected_accept_content} ${request['headers']['accept']} ignore_order=True Check Response Headers Containing Content-Type set to [Arguments] ${response} ${expected_content_type_content} Should Be Equal ${response['headers']['Content-Type']} ${expected_content_type_content} Loading Loading
TP/NGSI-LD/CommonBehaviours/044_02.robot +0 −5 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ ${tea_expectation}= vehicles-temporal-representation-044-02-04-expectation.json ${teatype}= Vehicle ${content_type}= application/json ${accept}= application/json, */* *** Test Cases *** 044_02_01_endpoint /entities/{entityId} Loading @@ -37,7 +36,6 @@ ${accept}= application/json, */* ${request} ${response}= Query Entity ${id} context=${ngsild_test_suite_context} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${building_expectation} ${id} ${response['body']} Check Request Containing Accept Header Set To ${request} ${accept} Check Response Headers Containing Content-Type set to ${response} ${content_type} Check Response Headers Link Not Empty ${response} Loading @@ -53,7 +51,6 @@ ${accept}= application/json, */* ${request} ${response}= Retrieve Subscription ${id} Check Response Status Code 200 ${response['status']} Check Response Body Containing One Subscription element ${subscription_expectation} ${response['body']} Check Request Containing Accept Header Set To ${request} ${accept} Check Response Headers Containing Content-Type set to ${response} ${content_type} Check Response Headers Link Not Empty ${response} Loading @@ -71,7 +68,6 @@ ${accept}= application/json, */* ${request} ${response}= Query Context Source Registrations With Return id=${registration_id} type=${registration_type} context=${ngsild_test_suite_context} Check Response Status Code 200 ${response['status']} Check Response Body Containing One Registration element ${registration_expectation} ${response['body']} Check Request Containing Accept Header Set To ${request} ${accept} Check Response Headers Containing Content-Type set to ${response} ${content_type} Check Response Headers Link Not Empty ${response} Loading @@ -87,7 +83,6 @@ ${accept}= application/json, */* Check Response Status Code 200 ${response['status']} Set Test Variable ${response} Check Response Body Containing EntityTemporal element ${tea_expectation} ${temporal_entity_representation_id} Check Request Containing Accept Header Set To ${request} ${accept} Check Response Headers Containing Content-Type set to ${response} ${content_type} Check Response Headers Link Not Empty ${response} Loading
resources/AssertionUtils.resource +0 −6 Original line number Diff line number Diff line Loading @@ -37,12 +37,6 @@ Check Response Body Content ${comparison_result}= Compare Dictionaries Ignoring Keys ${response_body} ${entity_payload} ${all_ignored_paths} Should Be True ${comparison_result} msg=Entity Comparison Failed Check Request Containing Accept Header Set To [Arguments] ${request} ${expected_accept_content} Run Keyword If 'Accept' in ${request['headers']} Should Be Equal ${expected_accept_content} ${request['headers']['Accept']} ignore_order=True Run Keyword If 'accept' in ${request['headers']} Should Be Equal ${expected_accept_content} ${request['headers']['accept']} ignore_order=True Check Response Headers Containing Content-Type set to [Arguments] ${response} ${expected_content_type_content} Should Be Equal ${response['headers']['Content-Type']} ${expected_content_type_content} Loading