Commit f7b21d74 authored by kzangeli's avatar kzangeli
Browse files

Merge remote-tracking branch 'origin/fix/vendor-httpctrl-distop-matcher' into integration/all-fixes

parents 17e63ebb 7649c37f
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -60,7 +60,12 @@ Setup Registration And Context Source Mock Server And Query The Context Broker W
    @{entities_id}=    Create List    ${entity_id}

    IF    '${method}' == 'GET'
        Set Stub Reply    ${method}    ${url}?type=Vehicle&id=${entity_id}&attrs=speed    200    ${serialized_entity}
        # Broker forwards with `pick=…` (spec § 5: `attrs` is deprecated and
        # is a synonym for `pick` + `q`). HttpCtrl's stub matcher substring-
        # checks each stub-param name+value against the criteria query
        # string, so the stub must use the canonical `pick=`. See
        # testsuite-doubts.md #22.
        Set Stub Reply    ${method}    ${url}?type=Vehicle&pick=speed    200    ${serialized_entity}
        ${response2}=    Query Entities    entity_types=Vehicle    context=${ngsild_test_suite_context}
    ELSE IF    '${method}' == 'POST'
        Set Stub Reply    ${method}    ${url}    200    ${serialized_entity}
+4 −1
Original line number Diff line number Diff line
@@ -5,6 +5,9 @@ robotframework-requests==0.9.7
deepdiff==8.6.1
prettydiff==0.1.0
paho-mqtt==1.6.1
robotframework-httpctrl==0.3.3
# Vendored fork at libraries/robotframework-httpctrl/: 0.3.1 base with the
# distop-aware substring stub-URL matcher upstream 0.3.3 ships without
# (see testsuite-doubts.md #22).
-e ./libraries/robotframework-httpctrl/
robotframework-robocop==7.2.0
robotframework-mqttlibrary==0.7.1.post3