Commit 3af4f190 authored by Ken Zangelin's avatar Ken Zangelin
Browse files

fix: pass expected_status=any when deleting CSR subscriptions

The 'Delete Context Source Registration Subscription' keyword was the
only DELETE/GET/PUT/POST in the file without 'expected_status=any'.
Without that, RequestsLibrary's DELETE raises HTTPError on any 4xx
response — so 042_03 (delete unknown sub → expects 404) and 042_02
(delete invalid URI → expects 400) abort before their assertions
ever run, even though the broker returns the correct status.

Match the pattern already used by every other keyword in this file.
parent 639d3e11
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}