-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from geniusdynamics/dev
Dev
- Loading branch information
Showing
5 changed files
with
35 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,5 @@ | |
|
||
|
||
state/smarthost.env | ||
volumes/html | ||
volumes/mysql-data | ||
volumes/glpi_html | ||
volumes/mysql-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
*** Settings *** | ||
Library SSHLibrary | ||
|
||
*** Test Cases *** | ||
Check if glpi is installed correctly | ||
${output} ${rc} = Execute Command add-module ${IMAGE_URL} 1 | ||
... return_rc=True | ||
Should Be Equal As Integers ${rc} 0 | ||
&{output} = Evaluate ${output} | ||
Set Suite Variable ${module_id} ${output.module_id} | ||
|
||
Check if glpi can be configured | ||
${rc} = Execute Command api-cli run module/${module_id}/configure-module --data '{}' | ||
... return_rc=True return_stdout=False | ||
Should Be Equal As Integers ${rc} 0 | ||
|
||
Check if glpi works as expected | ||
${rc} = Execute Command curl -f http://127.0.0.1/glpi/ | ||
... return_rc=True return_stdout=False | ||
Should Be Equal As Integers ${rc} 0 | ||
|
||
Check if glpi is removed correctly | ||
${rc} = Execute Command remove-module --no-preserve ${module_id} | ||
... return_rc=True return_stdout=False | ||
Should Be Equal As Integers ${rc} 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters