Skip to content

Commit fe16a0a

Browse files
committed
remove reliance of the operation delivery fragment to reduce dependency on a server side Cumulocity feature
Signed-off-by: reubenmiller <[email protected]>
1 parent 2372a33 commit fe16a0a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

tests/RobotFramework/requirements/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
paho-mqtt~=1.6.1
22
python-dotenv~=1.0.0
33
robotframework~=7.0.0
4-
robotframework-c8y @ git+https://github.com/thin-edge/robotframework-c8y.git@0.47.0
4+
robotframework-c8y @ git+https://github.com/thin-edge/robotframework-c8y.git@0.49.0
55
robotframework-aws @ git+https://github.com/thin-edge/[email protected]
66
robotframework-debuglibrary~=2.5.0
77
robotframework-jsonlibrary~=0.5

tests/RobotFramework/tests/cumulocity/firmware/firmware_operation_child_device.robot

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ Upload binary to Cumulocity
120120
Create c8y_Firmware operation
121121
${operation}= Cumulocity.Install Firmware firmware1 1.0 ${file_url}
122122
Set Suite Variable $operation
123-
Cumulocity.Operation Should Be DELIVERED ${operation}
123+
Set Device Context ${PARENT_SN}
124+
Should Have MQTT Messages c8y/devicecontrol/notifications message_contains=${operation.id}
124125

125126
Validate if file is not newly downloaded
126127
Set Device Context ${PARENT_SN}

tests/RobotFramework/tests/customizing/data_path_config.robot

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ Create c8y_Firmware operation
5959
[Arguments] ${firmware_url}
6060
${operation}= Cumulocity.Install Firmware firmware1 1.0 ${firmware_url}
6161
Set Suite Variable $operation
62-
Cumulocity.Operation Should Be DELIVERED ${operation}
62+
Set Device Context ${PARENT_SN}
63+
Should Have MQTT Messages c8y/devicecontrol/notifications message_contains=${operation.id}
6364

6465
Validate tedge firmware update request sent
6566
[Arguments] ${date_from}

0 commit comments

Comments
 (0)