Commit d9325934 authored by lopezaguilar's avatar lopezaguilar
Browse files

Change the keywork name 'Check Dictionary Might Contain Additional Members' to...

Change the keywork name 'Check Dictionary Might Contain Additional Members' to 'Check Dictionary Might Contain Additional Members of the NotificationParams'
parent 21b676c6
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -37,10 +37,10 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample

    Check Created Resource Set To    ${subscription_payload}    ${response1.json()}    ${ignored_attributes}

    Check Dictionary Might Contain Additional Members    ${response1.json()}    lastNotification
    Check Dictionary Might Contain Additional Members    ${response1.json()}    lastFailure
    Check Dictionary Might Contain Additional Members    ${response1.json()}    lastSuccess
    Check Dictionary Might Contain Additional Members    ${response1.json()}    timesSent
    Check Dictionary Might Contain Additional Members of the NotificationParams    ${response1.json()}    lastNotification
    Check Dictionary Might Contain Additional Members of the NotificationParams    ${response1.json()}    lastFailure
    Check Dictionary Might Contain Additional Members of the NotificationParams    ${response1.json()}    lastSuccess
    Check Dictionary Might Contain Additional Members of the NotificationParams    ${response1.json()}    timesSent


*** Keywords ***
+4 −4
Original line number Diff line number Diff line
@@ -51,10 +51,10 @@ ${expectation_file_path}= csourceSubscriptions/expectations/subscr
    ...    response_body=${response.json()}
    ...    ignored_keys=${ignored_attributes}

    Check Dictionary Might Contain Additional Members    ${response.json()}    lastNotification
    Check Dictionary Might Contain Additional Members    ${response.json()}    lastFailure
    Check Dictionary Might Contain Additional Members    ${response.json()}    lastSuccess
    Check Dictionary Might Contain Additional Members    ${response.json()}    timesSent
    Check Dictionary Might Contain Additional Members of the NotificationParams    ${response.json()}    lastNotification
    Check Dictionary Might Contain Additional Members of the NotificationParams    ${response.json()}    lastFailure
    Check Dictionary Might Contain Additional Members of the NotificationParams    ${response.json()}    lastSuccess
    Check Dictionary Might Contain Additional Members of the NotificationParams    ${response.json()}    timesSent


*** Keywords ***
+2 −2
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ class Checks:
                Checks.check_response_body_contains_datetime_value,
            'Check Response Body Containing ProblemDetails Element Containing Title Element':
                Checks.check_response_body_containing_problemdetails_element_containing_title_element,
            'Check Dictionary Might Contain Additional Members':
            'Check Dictionary Might Contain Additional Members of the NotificationParams':
                Checks.check_dictionary_might_contain_additional_members,
            'Check Response Body Containing ProblemDetails Element':
                Checks.check_response_body_containing_problemdetails_element,
@@ -149,7 +149,7 @@ class Checks:
                'params': ['response_body'],
                'position': [0]
            },
            'Check Dictionary Might Contain Additional Members': {
            'Check Dictionary Might Contain Additional Members of the NotificationParams': {
                'params': ['dictionary', 'key'],
                'position': [0, 1]
            },
+1 −1
Original line number Diff line number Diff line
@@ -475,7 +475,7 @@ Check Retrieving Context Source Registration
    ${ignored_attributes}=    Create List    ${status_regex_expr}    @context
    Check Updated Resource Set To    ${registration_payload}    ${response.json()}    ${ignored_attributes}

Check Dictionary Might Contain Additional Members
Check Dictionary Might Contain Additional Members of the NotificationParams
    # Check the Additional Members 5.2.14.2 in the NotificationParams data structure
    [Arguments]    ${dictionary}    ${key}
    Log    Dictionary Might Contain Key with a specific type