From 2b31820e2d40a37ff20e9e4af073e20e578406e3 Mon Sep 17 00:00:00 2001 From: Reuben Miller Date: Mon, 7 Oct 2024 14:28:47 +0200 Subject: [PATCH] format robotframework system tests Signed-off-by: Reuben Miller --- .../configuration/configuration_operation.robot | 1 - .../custom_operation_command.robot | 8 ++++---- .../tests/cumulocity/firmware/firmware_operation.robot | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/RobotFramework/tests/cumulocity/configuration/configuration_operation.robot b/tests/RobotFramework/tests/cumulocity/configuration/configuration_operation.robot index 11481f9ba47..2e0ad91652e 100644 --- a/tests/RobotFramework/tests/cumulocity/configuration/configuration_operation.robot +++ b/tests/RobotFramework/tests/cumulocity/configuration/configuration_operation.robot @@ -551,7 +551,6 @@ Update configuration plugin config via local filesystem move (different director ... system.toml ... CONFIG1 ... CONFIG-ROOT - ... Config@2.0.0 ${operation}= Cumulocity.Get Configuration Config@2.0.0 Operation Should Be SUCCESSFUL ${operation} diff --git a/tests/RobotFramework/tests/cumulocity/custom_operation/custom_operation_command/custom_operation_command.robot b/tests/RobotFramework/tests/cumulocity/custom_operation/custom_operation_command/custom_operation_command.robot index c2fc2e0fe9d..8c7c37b1a18 100644 --- a/tests/RobotFramework/tests/cumulocity/custom_operation/custom_operation_command/custom_operation_command.robot +++ b/tests/RobotFramework/tests/cumulocity/custom_operation/custom_operation_command/custom_operation_command.robot @@ -15,7 +15,7 @@ Run shell custom operation for main device and publish the status ${operation}= Cumulocity.Create Operation ... description=echo helloworld ... fragments={"c8y_Command":{"text":"echo helloworld"}} - + Operation Should Be SUCCESSFUL ${operation} Should Be Equal ${operation.to_json()["c8y_Command"]["result"]} helloworld\n Should Have MQTT Messages @@ -28,11 +28,11 @@ Run shell custom operation for main device and do not publish the status ThinEdgeIO.Transfer To Device ${CURDIR}/c8y_Command_2 /etc/tedge/operations/c8y/c8y_Command Restart Service tedge-mapper-c8y ${operation}= Cumulocity.Create Operation - ... description=echo helloworld + ... description=echo helloworld ... fragments={"c8y_Command":{"text":"echo helloworld"}} - + Operation Should Be PENDING ${operation} - + Should Have MQTT Messages ... c8y/s/us ... message_pattern=^(504|505|506),[0-9]+($|,\\"helloworld\n\\") diff --git a/tests/RobotFramework/tests/cumulocity/firmware/firmware_operation.robot b/tests/RobotFramework/tests/cumulocity/firmware/firmware_operation.robot index 5facb8e4104..fe758f9ea36 100644 --- a/tests/RobotFramework/tests/cumulocity/firmware/firmware_operation.robot +++ b/tests/RobotFramework/tests/cumulocity/firmware/firmware_operation.robot @@ -18,6 +18,7 @@ Send firmware update operation from Cumulocity IoT ${operation}= Cumulocity.Operation Should Be SUCCESSFUL ${operation} Cumulocity.Device Should Have Firmware tedge-core 1.0.0 https://abc.com/some/firmware/url + *** Keywords *** Custom Setup ${DEVICE_SN}= Setup