Commit 910af4d7 authored by kzangeli's avatar kzangeli
Browse files

fix(local): Delete CSR-subscription keyword must not raise on expected 4xx (042_02/03)



The keyword "Delete Context Source Registration Subscription" issued its
DELETE without expected_status=any, so RequestsLibrary raised an HTTPError
on any status >= 400. 042_02_01 (invalid URI, expects 400 BadRequestData)
and 042_03_01 (unknown id, expects 404 ResourceNotFound) are negative-path
tests, so the keyword aborted before they could assert the status code.

Every sibling keyword in the file already carries expected_status=any; this
one was missed. Same change as forge branch fix/042-csrsub-delete-expected-status
(commit 7d8bc91c, MR !272); brought into integration/all-fixes so local
etsiRun is green. Broker is correct (400 invalid URI, 404 unknown).

Co-Authored-By: default avatarClaude Opus 4.8 (1M context) <noreply@anthropic.com>
parent cf27e5fd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ Delete Context Source Registration Subscription

    ${response}=    DELETE
    ...    url=${url}/${CONTEXT_SOURCE_REGISTRATION_SUBSCRIPTION_ENDPOINT_PATH}/${subscription_id}
    ...    expected_status=any
    Output    ${response}    Delete Context Source Registration Subscription
    RETURN    ${response}