Skip to content

Commit

Permalink
test: switch package used in tests to htop
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Dec 17, 2024
1 parent 6ba7ea5 commit 42986ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions tests/alpine-s6/children/operations.robot
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ It Should List the Installed Software
Device Should Have Installed Software tedge tedge-agent

Install software (apk package)
${operation}= Install Software {"name": "jq", "version": "latest", "softwareType": "apk"}
${operation}= Install Software {"name": "htop", "version": "latest", "softwareType": "apk"}
Operation Should Be SUCCESSFUL ${operation}
Device Should Have Installed Software {"name": "jq", "softwareType": "apk"}
Device Should Have Installed Software {"name": "htop", "softwareType": "apk"}

Uninstall software (apk package)
${operation}= Uninstall Software {"name": "jq", "version": "latest", "softwareType": "apk"}
${operation}= Uninstall Software {"name": "htop", "version": "latest", "softwareType": "apk"}
Operation Should Be SUCCESSFUL ${operation}
Device Should Not Have Installed Software {"name": "jq", "softwareType": "apk"}
Device Should Not Have Installed Software {"name": "htop", "softwareType": "apk"}

*** Keywords ***

Expand Down
8 changes: 4 additions & 4 deletions tests/tedge/operations.robot
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,16 @@ Check Software List
Install software
[Arguments] ${device}
Cumulocity.Set Device ${device}
${operation}= Cumulocity.Install Software {"name": "jq", "version": "latest", "softwareType": "apk"}
${operation}= Cumulocity.Install Software {"name": "htop", "version": "latest", "softwareType": "apk"}
Operation Should Be SUCCESSFUL ${operation}
Device Should Have Installed Software jq
Device Should Have Installed Software htop

Uninstall software
[Arguments] ${device}
Cumulocity.Set Device ${device}
${operation}= Cumulocity.Uninstall Software {"name": "jq", "version": "latest", "softwareType": "apk"}
${operation}= Cumulocity.Uninstall Software {"name": "htop", "version": "latest", "softwareType": "apk"}
Operation Should Be SUCCESSFUL ${operation}
Device Should Not Have Installed Software jq
Device Should Not Have Installed Software htop

Execute shell command
[Arguments] ${device}
Expand Down

0 comments on commit 42986ec

Please sign in to comment.