Skip to content

Commit

Permalink
Merge pull request #3169 from reubenmiller/test-format-code
Browse files Browse the repository at this point in the history
test: format robotframework system tests
  • Loading branch information
reubenmiller authored Oct 7, 2024
2 parents 0274cfb + 2b31820 commit c11945c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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\\")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c11945c

Please sign in to comment.