Commit 2b04742c authored by lopezaguilar's avatar lopezaguilar
Browse files

Coding style

parent 049146a8
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -15,15 +15,16 @@ ${building_id_prefix}= urn:ngsi-ld:Building:


*** Test Cases ***    FILENAME
MinimalEntity    [Tags]    be-create    5_6_7
003_01_01 MinimalEntity
    [Tags]    be-create    5_6_7
    building-minimal-sample.jsonld
EntityWithSimpleProperties
003_01_02 EntityWithSimpleProperties
    [Tags]    be-create    5_6_7
    building-simple-attributes-sample.jsonld
EntityWithSimpleRelationships
003_01_03 EntityWithSimpleRelationships
    [Tags]    be-create    5_6_7
    building-relationship-sample.jsonld
EntityWithRelationshipsProperties
003_01_04 EntityWithRelationshipsProperties
    [Tags]    be-create    5_6_7
    building-relationship-of-property-sample.jsonld

+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building:


*** Test Cases ***
Create a batch of two valid entities and one invalid entity
003_02_01 Create a batch of two valid entities and one invalid entity
    [Documentation]    Check that you can create a batch of two valid entities and one invalid entity
    [Tags]    be-create    5_6_7
    ${first_entity_id}=    Generate Random Entity Id    ${building_id_prefix}
+4 −2
Original line number Diff line number Diff line
@@ -9,9 +9,11 @@ Test Template Create Batch Entity With Invalid Request Scenarios


*** Test Cases ***    FILENAME    PROBLEM_TYPE
InvalidJson    [Tags]    be-create    5_6_7
003_03_01 InvalidJson
    [Tags]    be-create    5_6_7
    batch/invalid-json-sample.jsonld    ${ERROR_TYPE_INVALID_REQUEST}
EmptyJson    [Tags]    be-create    5_6_7
003_03_01 EmptyJson
    [Tags]    be-create    5_6_7
    batch/empty-sample.jsonld    ${ERROR_TYPE_BAD_REQUEST_DATA}


+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building:


*** Test Cases ***
Create a batch of one entity using a provided Link header with JSON content type
003_04_01 Create a batch of one entity using a provided Link header with JSON content type
    [Documentation]    Check that the @context is obtained from a Link Header if the Content-Type header is "application/json"
    [Tags]    be-create    6_3_5
    ${entity_id}=    Generate Random Entity Id    ${building_id_prefix}
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building:


*** Test Cases ***
Create a batch of one entity using the default context with JSON content type
003_05_01 Create a batch of one entity using the default context with JSON content type
    [Documentation]    Check that the default @context is used if the Content-Type header is "application/json" and the Link header does not contain a JSON-LD @context
    [Tags]    be-create    6_3_5
    ${entity_id}=    Generate Random Entity Id    ${building_id_prefix}
Loading